1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-05-17 03:06:12 +02:00
build/pkg/ncurses/0001.patch
David Oberhollenzer 0fe431b970 Fix ncurses pkg-config generator script
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>
2020-04-07 03:28:21 +02:00

14 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