Merge branch 'master' into staging
[dcpomatic.git] / debian / rules
index 3320087a5a48cead85eaee75a2a7968ea39e97ad..a2bf70bd87a595913382c4de942d07f3016e6767 100755 (executable)
@@ -13,7 +13,8 @@
        dh $@ 
 
 override_dh_auto_configure:
-       ./waf --nocache configure --prefix=/usr --static
+       LINKFLAGS=$(CDIST_LINKFLAGS) CXXFLAGS="$(CXXFLAGS) $(CDIST_CXXFLAGS)" PKG_CONFIG_PATH=$(CDIST_PKG_CONFIG_PATH) \
+                ./waf --nocache configure --prefix=/usr --static
 
 override_dh_auto_build:
        ./waf --nocache build