diff options
Diffstat (limited to 'meta/recipes-core/ncurses/files/0003-gen-pkgconfig.in-Do-not-include-LDFLAGS-in-generated.patch')
-rw-r--r-- | meta/recipes-core/ncurses/files/0003-gen-pkgconfig.in-Do-not-include-LDFLAGS-in-generated.patch | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/meta/recipes-core/ncurses/files/0003-gen-pkgconfig.in-Do-not-include-LDFLAGS-in-generated.patch b/meta/recipes-core/ncurses/files/0003-gen-pkgconfig.in-Do-not-include-LDFLAGS-in-generated.patch index 1eb17767a0..a15694d4d4 100644 --- a/meta/recipes-core/ncurses/files/0003-gen-pkgconfig.in-Do-not-include-LDFLAGS-in-generated.patch +++ b/meta/recipes-core/ncurses/files/0003-gen-pkgconfig.in-Do-not-include-LDFLAGS-in-generated.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 3b3e87934bb6d8511261d7c3d6e39b4f71849272 Mon Sep 17 00:00:00 2001 | 1 | From 10cd0c12a6e14fb4f0498c299c1dd32720b710da Mon Sep 17 00:00:00 2001 |
2 | From: Nathan Rossi <nathan@nathanrossi.com> | 2 | From: Nathan Rossi <nathan@nathanrossi.com> |
3 | Date: Mon, 14 Dec 2020 13:39:02 +1000 | 3 | Date: Mon, 14 Dec 2020 13:39:02 +1000 |
4 | Subject: [PATCH] gen-pkgconfig.in: Do not include LDFLAGS in generated pc | 4 | Subject: [PATCH] gen-pkgconfig.in: Do not include LDFLAGS in generated pc |
@@ -10,19 +10,20 @@ includes build host specific paths and options (e.g. uninative and | |||
10 | 10 | ||
11 | Upstream-Status: Inappropriate [OE Specific] | 11 | Upstream-Status: Inappropriate [OE Specific] |
12 | Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> | 12 | Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> |
13 | |||
13 | --- | 14 | --- |
14 | misc/gen-pkgconfig.in | 2 +- | 15 | misc/gen-pkgconfig.in | 2 +- |
15 | 1 file changed, 1 insertion(+), 1 deletion(-) | 16 | 1 file changed, 1 insertion(+), 1 deletion(-) |
16 | 17 | ||
17 | diff --git a/misc/gen-pkgconfig.in b/misc/gen-pkgconfig.in | 18 | diff --git a/misc/gen-pkgconfig.in b/misc/gen-pkgconfig.in |
18 | index 8f00b824b9..009d215663 100644 | 19 | index a45dd54f..85273054 100644 |
19 | --- a/misc/gen-pkgconfig.in | 20 | --- a/misc/gen-pkgconfig.in |
20 | +++ b/misc/gen-pkgconfig.in | 21 | +++ b/misc/gen-pkgconfig.in |
21 | @@ -80,7 +80,7 @@ if [ "$includedir" != "/usr/include" ]; then | 22 | @@ -83,7 +83,7 @@ if [ "$includedir" != "/usr/include" ]; then |
22 | fi | 23 | fi |
23 | 24 | ||
24 | lib_flags= | 25 | lib_flags= |
25 | -for opt in -L$libdir @LDFLAGS@ @EXTRA_LDFLAGS@ @LIBS@ | 26 | -for opt in -L$libdir @EXTRA_PKG_LDFLAGS@ @LIBS@ |
26 | +for opt in -L$libdir @LIBS@ | 27 | +for opt in -L$libdir @LIBS@ |
27 | do | 28 | do |
28 | case $opt in | 29 | case $opt in |