]> mj.ucw.cz Git - libucw.git/commitdiff
Configure: Remember PKG_CONFIG_PATH used for building.
authorMartin Mares <mj@ucw.cz>
Wed, 25 Jun 2008 14:09:09 +0000 (16:09 +0200)
committerMartin Mares <mj@ucw.cz>
Wed, 25 Jun 2008 14:23:03 +0000 (16:23 +0200)
lib/autoconf.cfg

index 28f1184322bde1eb97805cee54f73df6ff33ac0c..2bf1798bdef07f9a060f958dab33d7b28859082c 100644 (file)
@@ -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;