From: Tollef Fog Heen Date: Thu, 31 Jan 2008 01:27:33 +0000 (+0100) Subject: pkg.c (string_list_to_string): Patch from Paul Bender so flags other X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e6c5da35ab467ed6d84d6e8502cf51af4561818;p=pkg-config pkg.c (string_list_to_string): Patch from Paul Bender so flags other than -I and -L are passed through (with mangling) when PKG_CONFIG_SYSROOT_DIR is set. --- diff --git a/ChangeLog b/ChangeLog index 5a4b3a1..6bfe2ed 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-01-31 Tollef Fog Heen + + * pkg.c (string_list_to_string): Patch from Paul Bender so flags + other than -I and -L are passed through (with mangling) when + PKG_CONFIG_SYSROOT_DIR is set. + 2008-01-16 Tollef Fog Heen * NEWS, configure.in: Release 0.23 diff --git a/pkg.c b/pkg.c index 7f252bd..540d793 100644 --- a/pkg.c +++ b/pkg.c @@ -483,8 +483,12 @@ string_list_to_string (GSList *list) g_string_append (str, pcsysrootdir); g_string_append (str, tmpstr+2); } + else + { + g_string_append (str, tmpstr); + } } - else + else { g_string_append (str, tmpstr); }