From 8efe46dceeaf08984477003d07efd5d80865cde5 Mon Sep 17 00:00:00 2001 From: Bastien Bouclet Date: Fri, 16 Nov 2018 18:21:57 +0100 Subject: 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. --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure') 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 -- cgit v1.2.3