summaryrefslogtreecommitdiffstats
path: root/testing/openjade/openjade-1.3.2-respect-ldflags.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/openjade/openjade-1.3.2-respect-ldflags.patch')
-rw-r--r--testing/openjade/openjade-1.3.2-respect-ldflags.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/openjade/openjade-1.3.2-respect-ldflags.patch b/testing/openjade/openjade-1.3.2-respect-ldflags.patch
new file mode 100644
index 000000000..51bd0b27d
--- /dev/null
+++ b/testing/openjade/openjade-1.3.2-respect-ldflags.patch
@@ -0,0 +1,12 @@
+diff -ru a/Makefile.lib.in b/Makefile.lib.in
+--- a/Makefile.lib.in 2002-01-22 05:57:53.000000000 -0600
++++ b/Makefile.lib.in 2009-01-04 16:15:41.000000000 -0600
+@@ -23,7 +23,7 @@
+ echo 'LT_OBJS='`echo $(OBJS)|sed 's/\.o/.lo/g'` >Makefile.lt
+
+ lib$(LIB).la: $(LT_OBJS)
+- $(LIBTOOL) --mode=link $(CC) $(LINKFLAGS) -o lib$(LIB).la $(LT_OBJS) \
++ $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) $(LINKFLAGS) -o lib$(LIB).la $(LT_OBJS) \
+ -rpath $(libdir) -version-info $(LTVERSION) $(DEPLIBS)
+
+ install: