summaryrefslogtreecommitdiff
path: root/set_soenv.in
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2011-07-09 13:37:20 +0300
committerTor Lillqvist <tml@iki.fi>2011-07-09 13:37:20 +0300
commit3f086957df272b1951e7b631222fa88c59aa5d0b (patch)
treed97a9b446919edbc9b11f2c0bd02ac9c4c4bd85b /set_soenv.in
parent50061efbffff217f63e6c994571c7287cf683f76 (diff)
Don't use -L /usr/lib when building for iOS
Diffstat (limited to 'set_soenv.in')
-rwxr-xr-xset_soenv.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/set_soenv.in b/set_soenv.in
index 022a86ea81ca..b632ee91955b 100755
--- a/set_soenv.in
+++ b/set_soenv.in
@@ -1291,13 +1291,14 @@ elsif ($platform =~ m/cygwin|mingw32/)
$L.'$SOLARVER'.$ds.'$INPATH'.$LIB;
}
elsif ($platform =~ m/darwin/)
-{ $SOLARLIB = $L.'$SOLARVER'.$ds.'$INPATH'.$LIB.
- $L.$USR_LIB;
+{ $SOLARLIB = $L.'$SOLARVER'.$ds.'$INPATH'.$LIB;
+ if ($platform !~ m/^arm-apple/)
+ { $SOLARLIB .= $L.$USR_LIB;
+ }
# [ed] 6/15/02 Add in X11 libraries onto the library path
if ($GUIBASE eq "unx") {
$SOLARLIB .= $L.$XLIB;
}
-
}
if ($SYSTEM_MOZILLA eq "YES")