summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-visualization/fig2sxd/files/fig2sxd-0.20-ldflags.patch')
-rw-r--r--sci-visualization/fig2sxd/files/fig2sxd-0.20-ldflags.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/sci-visualization/fig2sxd/files/fig2sxd-0.20-ldflags.patch b/sci-visualization/fig2sxd/files/fig2sxd-0.20-ldflags.patch
new file mode 100644
index 000000000000..a9bd521d3196
--- /dev/null
+++ b/sci-visualization/fig2sxd/files/fig2sxd-0.20-ldflags.patch
@@ -0,0 +1,12 @@
+diff -Naur fig2sxd-0.20/Makefile fig2sxd-0.20.new/Makefile
+--- fig2sxd-0.20/Makefile 2008-05-16 18:47:34.000000000 -0400
++++ fig2sxd-0.20.new/Makefile 2009-08-31 22:14:38.000000000 -0400
+@@ -51,7 +51,7 @@
+ LIBS = -lz
+
+ $(TARGET1): $(OBJECTS1)
+- $(CXX) -o $@ $^ $(LIBS)
++ $(CXX) $(LDFLAGS) $^ $(LIBS) -o $@
+
+ $(OBJECTS1): %.o: $(SRCDIR)%.cpp $(DEPEND)%.dep
+ $(CXX) $(CXXFLAGS) -o $@ -c $<