Skip to content

Commit

Permalink
cosmetic change
Browse files Browse the repository at this point in the history
  • Loading branch information
Takashi AOKI committed Sep 26, 2014
1 parent 1c04ad9 commit ec1ed73
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions build.sh
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
#!/bin/sh

OS=`sw_vers -productVersion | cut -f 1,2 -d "." `
VERSION=`sw_vers -productVersion | cut -f 1,2 -d "."`
CC=clang
if [[ -z "$JAVA_HOME" ]]; then
JAVA_HOME=`/usr/libexec/java_home`

if [[ -z "$JAVA_HOME" ]]; then
JAVA_HOME=`/usr/libexec/java_home`
fi

INCLUDE="-I ${JAVA_HOME}/include -I ${JAVA_HOME}/include/darwin"
FRAMEWORK="-framework Cocoa"
SRC="native/main.m"
DST="src/main/resources/io/github/appbundler/JavaAppLauncher"
SDK="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX$OS.sdk"
SDK="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX${VERSION}.sdk"
ARCH="x86_64"
MIN_MAC_OSX_VERSION="10.7"

Expand Down

0 comments on commit ec1ed73

Please sign in to comment.