diff options
Diffstat (limited to 'devel/pkgconfig/files')
-rw-r--r-- | devel/pkgconfig/files/patch-pkg.c | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/devel/pkgconfig/files/patch-pkg.c b/devel/pkgconfig/files/patch-pkg.c index 1284af1949e2..4fa85372148d 100644 --- a/devel/pkgconfig/files/patch-pkg.c +++ b/devel/pkgconfig/files/patch-pkg.c @@ -29,46 +29,3 @@ + scan_dir (LPKGLIBDIR, (void *)1); } } - -@@ -901,6 +904,13 @@ - while (tmp != NULL) - { - Package *pkg = tmp->data; -+ GSList *reqs = pkg->requires; -+ -+ if (reqs) -+ { -+ g_string_append (str, packages_get_other_libs(reqs)); -+ g_string_append (str, " "); -+ } - - if (pkg->other_libs) - { -@@ -924,10 +934,13 @@ - char *L_libs; - char *other_libs; - GString *str; -+ GSList *tmp; - char *retval; - - str = g_string_new (""); - -+ tmp = pkgs; -+ - other_libs = packages_get_other_libs (pkgs); - L_libs = packages_get_L_libs (pkgs); - l_libs = packages_get_l_libs (pkgs); -@@ -986,6 +999,13 @@ - while (tmp != NULL) - { - Package *pkg = tmp->data; -+ GSList *reqs = pkg->requires; -+ -+ if (reqs) -+ { -+ g_string_append (str, packages_get_other_cflags(reqs)); -+ g_string_append (str, " "); -+ } - - if (pkg->other_cflags) - { |