summaryrefslogtreecommitdiff
path: root/pkg.h
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2005-07-14 13:06:42 +0000
committerArch Librarian <arch@canonical.com>2005-07-14 13:06:42 +0000
commit986e4ebb03aef2ecd67c4dcc49306707ef9f68b0 (patch)
tree529e49ba006ef4a5ae14091aa658d64f306adadc /pkg.h
parent96d4dc19c74e56f04bb653489511407cc6f75b13 (diff)
downloadpkg-config-986e4ebb03aef2ecd67c4dcc49306707ef9f68b0.tar.gz
2005-04-01 Tollef Fog Heen <tfheen@err.no>
Author: tfheen Date: 2005-04-01 21:46:07 GMT 2005-04-01 Tollef Fog Heen <tfheen@err.no> * configure.in: Try to detect whether this architecture supports inter-library dependencies. If so, we default to assuming that this support is used and link to the minimal set of libraries rather than traversing the full depends set. * main.c (main): Only recurse if we want a static library list or if this architecture doesn't support inter-library dependencies. This will probably expose bugs for libraries which declare dependencies in their .pc files but don't actually link against each other. * pkg.c (packages_get_all_libs): Add recurse option (packages_get_L_libs): Add recurse option (package_get_L_libs): Add recurse option (packages_get_l_libs): Add recurse option (package_get_l_libs): Add recurse option * pkg.h: Update prototypes to handle the recurse option.
Diffstat (limited to 'pkg.h')
-rw-r--r--pkg.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/pkg.h b/pkg.h
index a63aa3f..b5f73df 100644
--- a/pkg.h
+++ b/pkg.h
@@ -75,13 +75,13 @@ struct _Package
};
Package *get_package (const char *name);
-char * package_get_l_libs (Package *pkg);
-char * packages_get_l_libs (GSList *pkgs);
-char * package_get_L_libs (Package *pkg);
-char * packages_get_L_libs (GSList *pkgs);
+char * package_get_l_libs (Package *pkg, gboolean recurse);
+char * packages_get_l_libs (GSList *pkgs, gboolean recurse);
+char * package_get_L_libs (Package *pkg, gboolean recurse);
+char * packages_get_L_libs (GSList *pkgs, gboolean recurse);
char * package_get_other_libs (Package *pkg);
char * packages_get_other_libs (GSList *pkgs);
-char * packages_get_all_libs (GSList *pkgs);
+char * packages_get_all_libs (GSList *pkgs, gboolean recurse);
char * package_get_I_cflags (Package *pkg);
char * packages_get_I_cflags (GSList *pkgs);
char * package_get_other_cflags (Package *pkg);