[SCM] cmt/master: Add makefile-apply-ldflags.patch to take LDFLAGS from environment

fsateler at users.alioth.debian.org fsateler at users.alioth.debian.org
Thu Mar 10 00:33:10 UTC 2016


The following commit has been merged in the master branch:
commit 31e5fd17c8916ce95b087d31b13efc7aa4fbeb60
Author: Felipe Sateler <fsateler at debian.org>
Date:   Wed Mar 9 21:14:10 2016 -0300

    Add makefile-apply-ldflags.patch to take LDFLAGS from environment

diff --git a/debian/patches/makefile-apply-ldflags.patch b/debian/patches/makefile-apply-ldflags.patch
new file mode 100644
index 0000000..52731c4
--- /dev/null
+++ b/debian/patches/makefile-apply-ldflags.patch
@@ -0,0 +1,11 @@
+--- a/src/makefile
++++ b/src/makefile
+@@ -67,7 +67,7 @@ targets:	$(PLUGIN_LIB)
+ 
+ $(PLUGIN_LIB):	$(PLUGIN_OBJECTS)
+ 	mkdir -p $(shell dirname $(PLUGIN_LIB))
+-	$(CXX)	-shared							\
++	$(CXX)	-shared	$(LDFLAGS)					\
+ 		-o $(PLUGIN_LIB)					\
+ 		$(PLUGIN_OBJECTS)					
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 55e7308..cff464e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 no-strip.patch
 correct_denormal.patch
 create-dest-dir.patch
+makefile-apply-ldflags.patch

-- 
Computer music toolkit packaging



More information about the pkg-multimedia-commits mailing list