summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/eb/files/eb-4.2.2-as-needed.patch')
-rw-r--r--dev-libs/eb/files/eb-4.2.2-as-needed.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-libs/eb/files/eb-4.2.2-as-needed.patch b/dev-libs/eb/files/eb-4.2.2-as-needed.patch
new file mode 100644
index 000000000000..19ec6c1ab582
--- /dev/null
+++ b/dev-libs/eb/files/eb-4.2.2-as-needed.patch
@@ -0,0 +1,12 @@
+diff -Naurp eb-4.2.2-orig/eb/Makefile.in eb-4.2.2/eb/Makefile.in
+--- eb-4.2.2-orig/eb/Makefile.in 2005-11-25 21:02:13.000000000 -0600
++++ eb-4.2.2/eb/Makefile.in 2008-06-21 07:37:51.000000000 -0600
+@@ -318,7 +318,7 @@ clean-libLTLIBRARIES:
+ rm -f "$${dir}/so_locations"; \
+ done
+ libeb.la: $(libeb_la_OBJECTS) $(libeb_la_DEPENDENCIES)
+- $(LINK) -rpath $(libdir) $(libeb_la_LDFLAGS) $(libeb_la_OBJECTS) $(libeb_la_LIBADD) $(LIBS)
++ $(LINK) -rpath $(libdir) $(libeb_la_LDFLAGS) $(libeb_la_OBJECTS) $(libeb_la_LIBADD) $(LIBS) $(ZLIBLIBS)
+
+ mostlyclean-compile:
+ -rm -f *.$(OBJEXT)