[SCM] eq10q/master: Pass LDFLAGS to the linker.

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Fri Jan 14 13:02:10 UTC 2011


The following commit has been merged in the master branch:
commit 19e5f367625d6cecee502c78001947eaae383b95
Author: Alessio Treglia <alessio at debian.org>
Date:   Fri Jan 14 14:02:00 2011 +0100

    Pass LDFLAGS to the linker.

diff --git a/debian/patches/01-makefile.patch b/debian/patches/01-makefile.patch
index 47fbd2f..da133cf 100644
--- a/debian/patches/01-makefile.patch
+++ b/debian/patches/01-makefile.patch
@@ -1,6 +1,7 @@
 Description: Debian's lv2-c++-tools has just paq.pc which provides everything
  needed to compile and link this LV2 plugins.
  Prepend DESTDIR to INSTALL_DIR and set it to /usr/lib/lv2.
+ Pass LDFLAGS to the linker.
 Author: Alessio Treglia <alessio at debian.org>
 Forwarded: no
 ---
@@ -21,11 +22,11 @@ Forwarded: no
  
  paramEQ.so: plugin.cpp
 -	g++ -O3 -shared -fPIC -DPIC plugin.cpp `pkg-config --cflags --libs lv2-plugin` -o paramEQ.so
-+	g++ -O3 -shared -fPIC -DPIC plugin.cpp `pkg-config --cflags --libs paq` -o paramEQ.so
++	g++ -O3 -shared -fPIC -DPIC $(LDFLAGS) plugin.cpp `pkg-config --cflags --libs paq` -o paramEQ.so
  
  parameq_gui.so: main_window.cpp band_ctl.cpp ctlbutton.cpp bodeplot.cpp vuwidget.cpp templatewidget.cpp pixmapcombo.cpp
 -	g++ -O3 -shared -fPIC -DPIC  bodeplot.cpp templatewidget.cpp vuwidget.cpp pixmapcombo.cpp ctlbutton.cpp  band_ctl.cpp main_window.cpp `pkg-config --cflags --libs lv2-gui plotmm`  -o parameq_gui.so
-+	g++ -O3 -shared -fPIC -DPIC  bodeplot.cpp templatewidget.cpp vuwidget.cpp pixmapcombo.cpp ctlbutton.cpp  band_ctl.cpp main_window.cpp `pkg-config --cflags --libs paq plotmm`  -o parameq_gui.so
++	g++ -O3 -shared -fPIC -DPIC $(LDFLAGS) bodeplot.cpp templatewidget.cpp vuwidget.cpp pixmapcombo.cpp ctlbutton.cpp  band_ctl.cpp main_window.cpp `pkg-config --cflags --libs paq plotmm`  -o parameq_gui.so
  
  
  install: $(BUNDLE)

-- 
eq10q packaging



More information about the pkg-multimedia-commits mailing list