summaryrefslogtreecommitdiff
path: root/source4/script
diff options
context:
space:
mode:
Diffstat (limited to 'source4/script')
-rwxr-xr-xsource4/script/pkg-config1
-rwxr-xr-xsource4/script/tests/selftest.sh3
2 files changed, 4 insertions, 0 deletions
diff --git a/source4/script/pkg-config b/source4/script/pkg-config
index 434a696946..72a458b815 100755
--- a/source4/script/pkg-config
+++ b/source4/script/pkg-config
@@ -27,6 +27,7 @@ if ($opt_help) {
print "pkg-config replacement in perl\n";
print "Copyright (C) 2006 Jelmer Vernooij <jelmer\@samba.org>\n";
print "\n";
+ print "Usage: pkg-config [OPTIONS] PACKAGE...\n";
print " --help Print this help message\n";
print " --static Print flags for static libraries\n";
print " --libs Print linker flags\n";
diff --git a/source4/script/tests/selftest.sh b/source4/script/tests/selftest.sh
index a1483f48d6..89896a9c30 100755
--- a/source4/script/tests/selftest.sh
+++ b/source4/script/tests/selftest.sh
@@ -47,6 +47,9 @@ export LD_SAMBA_MODULE_PATH
LD_LIBRARY_PATH=$OLD_PWD/bin/shared:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
+PKG_CONFIG_PATH=$OLD_PWD/bin/pkgconfig:$PKG_CONFIG_PATH
+export PKG_CONFIG_PATH
+
incdir=`dirname $ARG0`
echo -n "PROVISIONING..."
. $incdir/mktestsetup.sh $PREFIX || exit 1