aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBastien Bouclet2018-07-30 13:41:34 +0200
committerBastien Bouclet2018-08-04 07:55:23 +0200
commit172cdab90f5168b7ede6a4359d4b6d96173391aa (patch)
tree89b49131a036724d61f0c1ce5922c5ca8bbde0ce /Makefile
parentdf613af817c97b300555355848c4469f16302122 (diff)
downloadscummvm-rg350-172cdab90f5168b7ede6a4359d4b6d96173391aa.tar.gz
scummvm-rg350-172cdab90f5168b7ede6a4359d4b6d96173391aa.tar.bz2
scummvm-rg350-172cdab90f5168b7ede6a4359d4b6d96173391aa.zip
BUILD: Save the PKG_CONFIG_LIBDIR environment variable across rebuilds
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
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)