summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stewart <vericgar@gentoo.org>2006-06-05 04:55:21 +0000
committerMichael Stewart <vericgar@gentoo.org>2006-06-05 04:55:21 +0000
commitee67ffd3fe7f77fbab8f4138334b7e0c434ebb16 (patch)
tree7f66241f2ed7003334894141b07bb9ea76725578 /dev-libs/apr-util/files
parentAdd patch to allow correct linking with --as-needed (diff)
downloadgentoo-2-ee67ffd3fe7f77fbab8f4138334b7e0c434ebb16.tar.gz
gentoo-2-ee67ffd3fe7f77fbab8f4138334b7e0c434ebb16.tar.bz2
gentoo-2-ee67ffd3fe7f77fbab8f4138334b7e0c434ebb16.zip
Add patch to allow correct linking with --as-needed
(Portage version: 2.1_rc4-r1)
Diffstat (limited to 'dev-libs/apr-util/files')
-rw-r--r--dev-libs/apr-util/files/apr-util-0.9.12-linking.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-libs/apr-util/files/apr-util-0.9.12-linking.patch b/dev-libs/apr-util/files/apr-util-0.9.12-linking.patch
new file mode 100644
index 000000000000..87524c32c3dd
--- /dev/null
+++ b/dev-libs/apr-util/files/apr-util-0.9.12-linking.patch
@@ -0,0 +1,13 @@
+Index: apr-util-0.9.12/Makefile.in
+===================================================================
+--- apr-util-0.9.12.orig/Makefile.in
++++ apr-util-0.9.12/Makefile.in
+@@ -81,7 +81,7 @@ install: $(TARGET_LIB)
+
+ $(TARGET_LIB):
+ @objects="`find $(SUBDIRS) -name expat -prune -o -name 'gen_uri_delims.@so_ext@' -prune -o -name '*.@so_ext@' -print`"; \
+- tmpcmd="$(LINK) @lib_target@ @EXTRA_OS_LINK@"; \
++ tmpcmd="$(LINK) $(APRUTIL_LDFLAGS) @lib_target@ @EXTRA_OS_LINK@ $(APRUTIL_LIBS)"; \
+ echo $$tmpcmd; \
+ $$tmpcmd && touch $@
+