From e956111917a432d5ea1a7c5cc2fef6c0c3dcbcc1 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 17 Dec 2007 11:12:26 +0100 Subject: r26502: Revert accidently removed pkg-config path change. Thanks to metze for catching this. (This used to be commit b87e71ed4bac64353799bef668bca991b16e763e) --- source4/selftest/selftest.pl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source4/selftest/selftest.pl b/source4/selftest/selftest.pl index 71f23e1af4..456b483f07 100755 --- a/source4/selftest/selftest.pl +++ b/source4/selftest/selftest.pl @@ -405,6 +405,11 @@ my $tls_enabled = not $opt_quick; $ENV{TLS_ENABLED} = ($tls_enabled?"yes":"no"); $ENV{LDB_MODULES_PATH} = "$old_pwd/bin/modules/ldb"; $ENV{LD_SAMBA_MODULE_PATH} = "$old_pwd/bin/modules"; +if (defined($ENV{PKG_CONFIG_PATH})) { + $ENV{PKG_CONFIG_PATH} = "$old_pwd/bin/pkgconfig:$ENV{PKG_CONFIG_PATH}"; +} else { + $ENV{PKG_CONFIG_PATH} = "$old_pwd/bin/pkgconfig"; +} # Required for smbscript: $ENV{PATH} = "$old_pwd/bin:$old_pwd:$ENV{PATH}"; -- cgit