[SCM] vdr-plugin-games packaging repository branch, master, updated. debian/0.6.3-42-2-g62c6bbb
etobi
git at e-tobi.net
Sat Mar 23 21:39:35 UTC 2013
The following commit has been merged in the master branch:
commit 62c6bbb190ea47745516f080e4399373adc02260
Author: etobi <git at e-tobi.net>
Date: Sat Mar 23 21:56:15 2013 +0100
Use pkg-config to configure CXXFLAGS
diff --git a/debian/rules b/debian/rules
index b53a1c1..81514f6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,8 +4,8 @@
#export DH_VERBOSE=1
MAKE_OPTIONS = VDRDIR=/usr/include/vdr LIBDIR=. LOCALEDIR=locale
-CXXFLAGS += -fPIC $(CPPFLAGS)
-CFLAGS += -fPIC $(CPPFLAGS)
+CXXFLAGS += $(shell pkg-config vdr --variable=cxxflags)
+CFLAGS += $(shell pkg-config vdr --variable=cflags)
export LFLAGS=$(LDFLAGS)
%:
--
vdr-plugin-games packaging repository
More information about the pkg-vdr-dvb-changes
mailing list