From 172cdab90f5168b7ede6a4359d4b6d96173391aa Mon Sep 17 00:00:00 2001 From: Bastien Bouclet Date: Mon, 30 Jul 2018 13:41:34 +0200 Subject: BUILD: Save the PKG_CONFIG_LIBDIR environment variable across rebuilds --- Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 1b2f35527f..a01c45f570 100644 --- a/Makefile +++ b/Makefile @@ -91,9 +91,10 @@ ifeq "$(findstring config.mk,$(MAKEFILE_LIST))" "config.mk" AR="$(SAVED_AR)" AS="$(SAVED_AS)" ASFLAGS="$(SAVED_ASFLAGS)" \ CPPFLAGS="$(SAVED_CPPFLAGS)" CXX="$(SAVED_CXX)" \ CXXFLAGS="$(SAVED_CXXFLAGS)" LD="$(SAVED_LD)" \ - LDFLAGS="$(SAVED_LDFLAGS)" RANLIB="$(SAVED_RANLIB)" \ - SDL_CONFIG="$(SAVED_SDL_CONFIG)" STRIP="$(SAVED_STRIP)" \ - WINDRES="$(SAVED_WINDRES)" WINDRESFLAGS="$(SAVED_WINDRESFLAGS)" \ + LDFLAGS="$(SAVED_LDFLAGS)" PKG_CONFIG_LIBDIR="$(SAVED_PKG_CONFIG_LIBDIR)" \ + RANLIB="$(SAVED_RANLIB)" SDL_CONFIG="$(SAVED_SDL_CONFIG)" \ + STRIP="$(SAVED_STRIP)" WINDRES="$(SAVED_WINDRES)" \ + WINDRESFLAGS="$(SAVED_WINDRESFLAGS)" \ $(srcdir)/configure $(SAVED_CONFIGFLAGS) else $(error You need to run $(srcdir)/configure before you can run make. Check $(srcdir)/configure --help for a list of parameters) -- cgit v1.2.3