From 3f086957df272b1951e7b631222fa88c59aa5d0b Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Sat, 9 Jul 2011 13:37:20 +0300 Subject: [PATCH] Don't use -L /usr/lib when building for iOS --- set_soenv.in | 7 ++++--- 1 file 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")