From: <eli...@us...> - 2007-04-08 21:33:37
|
Revision: 2761 http://svn.sourceforge.net/java-game-lib/?rev=2761&view=rev Author: elias_naur Date: 2007-04-08 14:33:35 -0700 (Sun, 08 Apr 2007) Log Message: ----------- Mac OS X: Fix native compilation error by forcing all native source to be Objective C. This is needed the jawt headers use Objective C features Modified Paths: -------------- trunk/LWJGL/platform_build/macosx_ant/build.xml Modified: trunk/LWJGL/platform_build/macosx_ant/build.xml =================================================================== --- trunk/LWJGL/platform_build/macosx_ant/build.xml 2007-04-07 19:14:40 UTC (rev 2760) +++ trunk/LWJGL/platform_build/macosx_ant/build.xml 2007-04-08 21:33:35 UTC (rev 2761) @@ -18,7 +18,7 @@ <target name="compile"> <apply dir="${dstdir}" executable="${compiler}" os="Mac OS X" skipemptyfilesets="true" failonerror="true" dest="${dstdir}"> - <arg line="${cflags} -O2 -Wall -c -fPIC -I${sdkroot}/System/Library/Frameworks/JavaVM.framework/Versions/A/Headers -I${native}/common -I${native}/macosx"/> + <arg line="${cflags} -ObjC -O2 -Wall -c -fPIC -I${sdkroot}/System/Library/Frameworks/JavaVM.framework/Versions/A/Headers -I${native}/common -I${native}/macosx"/> <!-- Map from *.m and *.c to .o --> <mapper type="regexp" from="^(.*)\.(c|m)" to="\1.o"/> <fileset dir="${native}/macosx" includes="*.m"/> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |