mirror of
https://github.com/pygos/build.git
synced 2024-11-14 15:37:11 +01:00
David Oberhollenzer
0fe431b970
It picks up the linker hardening flags and stuffs them into the Libs section of the pkg-config file. Some packages, such as procps-ng end up trying to apply them in a semi parsed form and choke when trying to link against "noexecstack". Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
13 lines
375 B
Diff
13 lines
375 B
Diff
diff --git a/misc/gen-pkgconfig.in b/misc/gen-pkgconfig.in
|
|
index 8f00b82..2849b4d 100644
|
|
--- a/misc/gen-pkgconfig.in
|
|
+++ b/misc/gen-pkgconfig.in
|
|
@@ -190,7 +190,7 @@ Description: $desc
|
|
Version: \${version}
|
|
${USEURL}URL: https://invisible-island.net/ncurses
|
|
Requires.private: $reqs
|
|
-Libs: $lib_flags $LIBS
|
|
+Libs: $LIBS
|
|
Libs.private: @LIBS@ $main_libs
|
|
Cflags: $CFLAGS
|
|
EOF
|