Merge branch '1.0' into 1.0-generated-control
[dcpomatic.git] / debian / rules
index ba42e5291fabb5689821c7eee5ba168a9a964063..c0db3f77aff09eb5db203ce97d1d652f70c4235c 100755 (executable)
        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
 
 override_dh_auto_install:
        ./waf --nocache install --destdir=debian/dcpomatic
-