diff options
author | Joseph Powers <jpowers27@cox.net> | 2011-07-29 07:52:42 -0700 |
---|---|---|
committer | Joseph Powers <jpowers27@cox.net> | 2011-07-29 08:36:03 -0700 |
commit | 5e6540617429822211b065779c964f5b98d112f4 (patch) | |
tree | 47126f2680fce228720951ef0c8608d3bcfea091 /set_soenv.in | |
parent | add tail_build:forms dep needed for inbuild component files (diff) | |
download | core-5e6540617429822211b065779c964f5b98d112f4.tar.gz core-5e6540617429822211b065779c964f5b98d112f4.zip |
Mac OS: On 10.7, the standard search paths don't work.
Installing xCode 4.1 renames the xCode 3.2.6 directory to /Developer-old/;
however, the compiler gets confused and can't find the headers and libraries.
This patch just notifies the compiler where they are actually located.
Note: I'm assuming that people compiling on 10.7 aren't trying to generate
a PPC binary.
Diffstat (limited to 'set_soenv.in')
-rwxr-xr-x | set_soenv.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/set_soenv.in b/set_soenv.in index a23a6413883a..f48cf2cf7c54 100755 --- a/set_soenv.in +++ b/set_soenv.in @@ -86,7 +86,7 @@ my ( $oldPATH, $SRC_ROOT, $SO_HOME, $JAVA_HOME, $JDK, $JAVAFLAGS, $OOO_SHELL, $WIN_GNUCOPY, $WIN_TOUCH, $MOZILLA_VERSION, $MOZILLA_TOOLKIT, $PREBUILD_MOZAB, $MOZILLABUILD, $PROEXT, $TARFILE_LOCATION, $GNUMAKE, $PYTHON, $SYSTEM_PYTHON, $SYSTEM_MOZILLA, $EPM_FLAGS, - $MACOSX_SDK_PATH); + $MACOSX_SDK_PATH, $CPATH, $LIBRARY_PATH); # #------------------------------------------- # IId. Declaring the aliases. @@ -2491,7 +2491,7 @@ sub GetCorrectPath my $cmd = shift; while (@_) { my $elem = shift; - + -x "$elem/$cmd" && return $elem; } return ''; @@ -2508,7 +2508,7 @@ sub GetCorrectPath } } return 0; - } + } sub CleanupPath { |