X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/e75e5879c0e8d232a2e8f045685beeb8c965aba4..6d7fc45ed4e22163bba6478c7523f4509d200c58:/debian/rules diff --git a/debian/rules b/debian/rules index db59d2898..ce7d19dec 100755 --- a/debian/rules +++ b/debian/rules @@ -24,7 +24,7 @@ confflags += --with-procs=$(PARALLEL) # See below -include build/environment.mak -ifneq (,$(shell command -v dpkg-buildflags)) +ifneq (,$(shell which dpkg-buildflags)) # make does not export to $(shell) so we need to workaround # (http://savannah.gnu.org/bugs/?10593) dpkg_buildflags = DEB_BUILD_MAINT_OPTIONS=hardening=+all dpkg-buildflags @@ -60,6 +60,11 @@ ifeq ($(words $(BLD)),0) override BLD := ./build endif +# When building without , the header is available and thus the test is +# successful. When building with , the header is missing, but we still +# pretend it to be available, because configure would fail otherwise. +export ac_cv_header_gtest_gtest_h=yes + # APT Programs in apt-utils APT_UTILS=ftparchive sortpkgs extracttemplates