summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/zynaddsubfx/files/zynaddsubfx-2.4.0-ldflags.patch')
-rw-r--r--media-sound/zynaddsubfx/files/zynaddsubfx-2.4.0-ldflags.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/media-sound/zynaddsubfx/files/zynaddsubfx-2.4.0-ldflags.patch b/media-sound/zynaddsubfx/files/zynaddsubfx-2.4.0-ldflags.patch
new file mode 100644
index 000000000000..13f9a7a31956
--- /dev/null
+++ b/media-sound/zynaddsubfx/files/zynaddsubfx-2.4.0-ldflags.patch
@@ -0,0 +1,16 @@
+Index: ZynAddSubFX-2.4.0/src/Makefile
+===================================================================
+--- ZynAddSubFX-2.4.0.orig/src/Makefile
++++ ZynAddSubFX-2.4.0/src/Makefile
+@@ -101,9 +101,9 @@ else
+
+
+ ifeq ($(OS_PORT),LINUX)
+- $(CXX) -o zynaddsubfx */*.o *.o $(LIBS)
++ $(CXX) $(LDFLAGS) -o zynaddsubfx */*.o *.o $(LIBS)
+ else
+- $(CXX) -o zynaddsubfx.exe */*.o *.o $(LIBS)
++ $(CXX) $(LDFLAGS) -o zynaddsubfx.exe */*.o *.o $(LIBS)
+ endif
+ endif
+ endif