From 477791a466ed8b657895daffed00873a1e446199 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Wed, 25 Jun 2008 16:09:09 +0200 Subject: [PATCH] Configure: Remember PKG_CONFIG_PATH used for building. --- lib/autoconf.cfg | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/autoconf.cfg b/lib/autoconf.cfg index 28f11843..2bf1798b 100644 --- a/lib/autoconf.cfg +++ b/lib/autoconf.cfg @@ -272,5 +272,9 @@ if (Get("CPU_ARCH") eq "default" || Get("CPU_ARCH") =~ /^i[345]86$/) { #CDEBUG+=-DDEBUG_DMALLOC #LIBS+=-ldmalloc +# Remember PKG_CONFIG_PATH used for building, so that it will be propagated to +# pkg-config's run locally in the makefiles. +Set("PKG_CONFIG_PATH", $ENV{"PKG_CONFIG_PATH"}) if defined $ENV{"PKG_CONFIG_PATH"}; + # Return success 1; -- 2.39.2