summaryrefslogtreecommitdiff
path: root/make/utilities.pm
diff options
context:
space:
mode:
Diffstat (limited to 'make/utilities.pm')
-rw-r--r--make/utilities.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/make/utilities.pm b/make/utilities.pm
index 8c8ac0d49..42dd6b547 100644
--- a/make/utilities.pm
+++ b/make/utilities.pm
@@ -95,6 +95,7 @@ sub make_rpath($;$)
sub extend_pkg_path()
{
+ return if defined $ENV{DISABLE_EXTEND_PKG_PATH};
if (!exists $ENV{PKG_CONFIG_PATH})
{
$ENV{PKG_CONFIG_PATH} = "/usr/lib/pkgconfig:/usr/local/lib/pkgconfig:/usr/local/libdata/pkgconfig:/usr/X11R6/libdata/pkgconfig";