summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/ladspa-cmt/files/ladspa-cmt-1.16-respect-ldflags.patch')
-rw-r--r--media-libs/ladspa-cmt/files/ladspa-cmt-1.16-respect-ldflags.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/media-libs/ladspa-cmt/files/ladspa-cmt-1.16-respect-ldflags.patch b/media-libs/ladspa-cmt/files/ladspa-cmt-1.16-respect-ldflags.patch
new file mode 100644
index 000000000000..e851c2a781ed
--- /dev/null
+++ b/media-libs/ladspa-cmt/files/ladspa-cmt-1.16-respect-ldflags.patch
@@ -0,0 +1,14 @@
+https://bugs.gentoo.org/show_bug.cgi?id=334711
+
+--- cmt/src/makefile.old 2010-09-13 16:43:26.000000000 +0100
++++ cmt/src/makefile 2010-09-13 16:45:08.000000000 +0100
+@@ -66,7 +66,8 @@
+ targets: $(PLUGIN_LIB)
+
+ $(PLUGIN_LIB): $(PLUGIN_OBJECTS)
+- $(CXX) -shared \
++ $(CXX) $(LDFLAGS) \
++ -shared \
+ -o $(PLUGIN_LIB) \
+ $(PLUGIN_OBJECTS)
+