[SCM] showq/master: Pass LDFLAGS.

mira-guest at users.alioth.debian.org mira-guest at users.alioth.debian.org
Tue Jun 9 22:27:06 UTC 2015


The following commit has been merged in the master branch:
commit b5005b07f754963aec2492263a1e95392d884cd3
Author: Jaromír Mikeš <mira.mikes at seznam.cz>
Date:   Wed Jun 10 00:25:41 2015 +0200

    Pass LDFLAGS.

diff --git a/debian/rules b/debian/rules
index 439056c..ab7b768 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,8 +1,7 @@
 #!/usr/bin/make -f
 # -*- makefile -*-
 
-#LDFLAGS+=-Wl,--as-needed
-
+export LINKFLAGS := $(shell dpkg-buildflags --get LDFLAGS) -ldl
 
 WAF = ./waf
 
@@ -10,7 +9,7 @@ WAF = ./waf
 	dh $@ --parallel
 
 override_dh_auto_configure:
-	LINKFLAGS="-ldl" $(WAF) configure   --prefix=/usr
+	$(WAF) configure   --prefix=/usr
 
 override_dh_auto_build:
 	$(WAF)

-- 
showq packaging



More information about the pkg-multimedia-commits mailing list