-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
27 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
patches/flatpak-builder-CMAKE_INSTALL_LIBDIR-is-not-absolute-path.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
From e456380c128493654fdeabe51666c5d798a2c40d Mon Sep 17 00:00:00 2001 | ||
From: bbhtt <bbhtt.zn0i8@slmail.me> | ||
Date: Thu, 4 Jul 2024 13:29:23 +0530 | ||
Subject: [PATCH] CMAKE_INSTALL_LIBDIR is not absolute path | ||
|
||
--- | ||
src/builder-module.c | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/src/builder-module.c b/src/builder-module.c | ||
index 910cd551..a3cc9f8a 100644 | ||
--- a/src/builder-module.c | ||
+++ b/src/builder-module.c | ||
@@ -1788,7 +1788,7 @@ builder_module_build_helper (BuilderModule *self, | ||
if (libdir) | ||
g_ptr_array_add (configure_args_arr, g_strdup_printf ("-DCMAKE_INSTALL_LIBDIR:PATH='%s'", libdir)); | ||
else | ||
- g_ptr_array_add (configure_args_arr, g_strdup_printf ("-DCMAKE_INSTALL_LIBDIR:PATH='%s/lib'", prefix)); | ||
+ g_ptr_array_add (configure_args_arr, g_strdup_printf ("-DCMAKE_INSTALL_LIBDIR:PATH='lib'")); | ||
g_ptr_array_add (configure_args_arr, g_strdup ("-G")); | ||
g_ptr_array_add (configure_args_arr, g_strdup_printf ("%s", cmake_generator)); | ||
} | ||
-- | ||
2.45.2 | ||
|