aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorBastien Bouclet2018-11-16 18:21:57 +0100
committerBastien Bouclet2018-11-16 18:34:59 +0100
commit8efe46dceeaf08984477003d07efd5d80865cde5 (patch)
tree297cea3c5eabb4ef934d22a46cefbfc2ae5a745c /configure
parent4d36606b27f82c8daa5c3f1ea95a279803cb14d1 (diff)
downloadscummvm-rg350-8efe46dceeaf08984477003d07efd5d80865cde5.tar.gz
scummvm-rg350-8efe46dceeaf08984477003d07efd5d80865cde5.tar.bz2
scummvm-rg350-8efe46dceeaf08984477003d07efd5d80865cde5.zip
BUILD: Set PKG_CONFIG_LIBDIR only when needed when running configure
Remember if PKG_CONFIG_LIBDIR is set when running configure manually, when automatically running configure, only set PKG_CONFIG_LIBDIR if it was set during the manual run. Fixes #10807.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 161551e616..1d050f03a6 100755
--- a/configure
+++ b/configure
@@ -38,7 +38,7 @@ SAVED_CXXFLAGS=$CXXFLAGS
SAVED_DWP=$DWP
SAVED_LD=$LD
SAVED_LDFLAGS=$LDFLAGS
-SAVED_PKG_CONFIG_LIBDIR=$PKG_CONFIG_LIBDIR
+SAVED_PKG_CONFIG_LIBDIR=${PKG_CONFIG_LIBDIR:-unset}
SAVED_RANLIB=$RANLIB
SAVED_SDL_CONFIG=$SDL_CONFIG
SAVED_STRIP=$STRIP