Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
prevent LDFLAGS from ending up in pkg-config .pc file
I can’t find much mention of this problem when searching the web, except for one case in curl where it was fixed in 2009: curl/curl@4c8adc8
- Loading branch information
1 parent
e2005c9
commit cefded2
Showing
8 changed files
with
64 additions
and
0 deletions.
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
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,11 @@ | ||
| --- old/giblib.pc.in 2004-09-04 16:40:40.000000000 +0200 | ||
| +++ new/giblib.pc.in 2020-05-02 11:13:50.450107188 +0200 | ||
| @@ -6,6 +6,6 @@ | ||
| Name: giblib | ||
| Description: wrapper library for imlib2, and other stuff | ||
| Version: @VERSION@ | ||
| -Libs: -L${libdir} -lgiblib @LDFLAGS@ @IMLIB_LIBS@ | ||
| +Libs: -L${libdir} -lgiblib @IMLIB_LIBS@ | ||
| Cflags: -I${includedir} -I${includedir}/giblib @IMLIB_CFLAGS@ | ||
|
|
||
| Binary files /dev/null and new/giblib.pc.in~ differ |
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
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,12 @@ | ||
| --- old/configure 2017-02-13 22:18:15.000000000 +0100 | ||
| +++ new/configure 2020-05-02 11:57:10.998023956 +0200 | ||
| @@ -54946,7 +54946,7 @@ | ||
| done | ||
|
|
||
| GUILE_CFLAGS="$GUILE_CFLAGS $PTHREAD_CFLAGS" | ||
| -GUILE_LIBS="$LDFLAGS $LIBS" | ||
| +GUILE_LIBS=" $LIBS" | ||
|
|
||
|
|
||
|
|
||
| Binary files /dev/null and new/configure~ differ |
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
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,15 @@ | ||
| --- old/misc/gen-pkgconfig.in 2020-05-02 11:08:19.661290907 +0200 | ||
| +++ new/misc/gen-pkgconfig.in 2020-05-02 11:10:50.262568124 +0200 | ||
| @@ -92,6 +92,12 @@ | ||
| -Wl,-z,*) # ignore flags used to manipulate shared image | ||
| continue | ||
| ;; | ||
| + -Wl,-rpath*) # ignore rpath | ||
| + continue | ||
| + ;; | ||
| + -Wl,--dynamic-linker*) # ignore ELF interpreter | ||
| + continue | ||
| + ;; | ||
| -L*) | ||
| [ -d ${opt##-L} ] || continue | ||
| case ${opt##-L} in |
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
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,17 @@ | ||
| --- old/template/ruby.pc.in 2020-03-31 12:44:55.000000000 +0200 | ||
| +++ new/template/ruby.pc.in 2020-05-02 13:24:09.239957802 +0200 | ||
| @@ -48,12 +48,11 @@ | ||
| LIBRUBYARG_STATIC=@LIBRUBYARG_STATIC@ | ||
| LIBRUBYARG=@LIBRUBYARG@ | ||
| LIBS=@LIBS@ | ||
| -DLDFLAGS=@DLDFLAGS@ | ||
|
|
||
| Name: Ruby | ||
| Description: Object Oriented Script Language | ||
| Version: ${ruby_version} | ||
| URL: https://www.ruby-lang.org | ||
| Cflags: -I${rubyarchhdrdir} -I${rubyhdrdir} | ||
| -Libs: ${DLDFLAGS} ${LIBRUBYARG_SHARED} ${LIBS} | ||
| +Libs: ${LIBRUBYARG_SHARED} ${LIBS} | ||
| Requires: | ||
| Binary files /dev/null and new/template/ruby.pc.in~ differ |