mirror of
https://github.com/pygos/build.git
synced 2024-11-14 07:27:10 +01:00
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>
This commit is contained in:
parent
4aab514712
commit
0fe431b970
2 changed files with 14 additions and 1 deletions
13
pkg/ncurses/0001.patch
Normal file
13
pkg/ncurses/0001.patch
Normal file
|
@ -0,0 +1,13 @@
|
|||
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
|
|
@ -7,7 +7,7 @@ DEPENDS="toolchain toolchain"
|
|||
SUBPKG="ncurses-dev ncurses++-dev ncurses"
|
||||
|
||||
prepare() {
|
||||
return
|
||||
apply_patches
|
||||
}
|
||||
|
||||
build() {
|
||||
|
|
Loading…
Reference in a new issue