summaryrefslogtreecommitdiff
path: root/make/utilities.pm
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-11-03 18:09:26 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-11-03 18:09:26 +0000
commit4bd6bbfebcc830db5a77ac340c4689b025bf4bfd (patch)
treef0b0f18f2bd2d9f6598897f270decc60a640222e /make/utilities.pm
parent335a65f4188377a6d6a218fc225802ebbe1ec408 (diff)
Add --disable-rpath. Probably wont backport this for the time being
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8475 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'make/utilities.pm')
-rw-r--r--make/utilities.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/make/utilities.pm b/make/utilities.pm
index 792fd035b..c3909c1e4 100644
--- a/make/utilities.pm
+++ b/make/utilities.pm
@@ -71,7 +71,7 @@ sub make_rpath($;$)
print "Adding extra library path to \033[1;32m$module\033[0m ... \033[1;32m$libpath\033[0m\n";
$already_added{$libpath} = 1;
}
- $output .= "-Wl,--rpath -Wl,$libpath -L$libpath ";
+ $output .= "-Wl,--rpath -Wl,$libpath -L$libpath " unless defined $main::opt_disablerpath;
$data =~ s/-L(\S+)//;
}
return $output;