Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'features/org.eclipse.equinox.executable.feature/library/cocoa/build.sh')
-rw-r--r--features/org.eclipse.equinox.executable.feature/library/cocoa/build.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/features/org.eclipse.equinox.executable.feature/library/cocoa/build.sh b/features/org.eclipse.equinox.executable.feature/library/cocoa/build.sh
index f40aaf613..77e04ed6c 100644
--- a/features/org.eclipse.equinox.executable.feature/library/cocoa/build.sh
+++ b/features/org.eclipse.equinox.executable.feature/library/cocoa/build.sh
@@ -59,9 +59,10 @@ PROGRAM_OUTPUT="$programOutput"
DEFAULT_OS="$defaultOS"
DEFAULT_OS_ARCH="$defaultOSArch"
DEFAULT_WS="$defaultWS"
+DEPLOYMENT_TARGET=10.10
EXEC_DIR=../../../../../rt.equinox.binaries/org.eclipse.equinox.executable
PROGRAM_OUTPUT_DIR="$EXEC_DIR/bin/$defaultWS/$defaultOS/$defaultOSArch/Eclipse.app/Contents/MacOS"
-MACOSX_DEPLOYMENT_TARGET=10.10
+SDKROOT_PATH="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk"
# /System/Library/Frameworks/JavaVM.framework/Headers does not exist anymore on Yosemite
if [ -e /System/Library/Frameworks/JavaVM.framework/Headers ]; then
@@ -71,7 +72,8 @@ else
fi
ARCHS="-arch x86_64"
-export PROGRAM_OUTPUT DEFAULT_OS DEFAULT_OS_ARCH DEFAULT_WS ARCHS PROGRAM_OUTPUT_DIR JAVA_HEADERS MACOSX_DEPLOYMENT_TARGET
+export PROGRAM_OUTPUT DEFAULT_OS DEFAULT_OS_ARCH DEFAULT_WS ARCHS PROGRAM_OUTPUT_DIR JAVA_HEADERS
+export MACOSX_DEPLOYMENT_TARGET=$DEPLOYMENT_TARGET SDKROOT=$SDKROOT_PATH
if [ "$extraArgs" != "" ]; then
make -f $makefile $extraArgs

Back to the top