Skip to content

Commit c70c742

Browse files
author
gkbrown
committed
Update build script to produce 10.7-compatible binaries when compiling on 10.8.
git-svn-id: https://svn.java.net/svn/appbundler~svn@34 07572b26-92e5-4d45-f66a-c18421440a21
1 parent a12c131 commit c70c742

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

build.xml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,11 @@ questions.
7070
<arg value="${ant.project.name}/${folder.classes}/com/oracle/appbundler/JavaAppLauncher"/>
7171
<arg value="-framework"/>
7272
<arg value="Cocoa"/>
73-
<arg value="-F"/>
74-
<arg value="${env.JAVA_HOME}/../.."/>
75-
<arg value="-m64"/>
76-
<arg value="-std=c99"/>
73+
<arg value="-arch"/>
74+
<arg value="x86_64"/>
75+
<arg value="-isysroot"/>
76+
<arg value="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk"/>
77+
<arg value="-mmacosx-version-min=10.7"/>
7778
<arg value="appbundler/native/main.m"/>
7879
</exec>
7980
</target>

0 commit comments

Comments
 (0)