summaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-02-01 12:14:54 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-02-01 12:14:54 +0000
commit3102dedbb8a4bf4b0263715d507e3603cf048711 (patch)
tree2199e29ca465984397c97617ba4fc4837f398ed4 /make
parent5e1aa02b669979addf3034c45eacf662597f4011 (diff)
New patch from BuildSmart for OS X support, not broken like the last one
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6473 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'make')
-rw-r--r--make/utilities.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/make/utilities.pm b/make/utilities.pm
index 532c09096..da5ff3abb 100644
--- a/make/utilities.pm
+++ b/make/utilities.pm
@@ -353,6 +353,7 @@ sub translate_functions($$)
while ($line =~ /rpath\("(.+?)"\)/)
{
my $replace = make_rpath($1,$module);
+ $replace = "" if ($^O =~ /darwin/i);
$line =~ s/rpath\("(.+?)"\)/$replace/;
}
};