Jelajahi Sumber

bullet native build script:
- fix win32 native build

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8919 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

nor..67 14 tahun lalu
induk
melakukan
c42b1e9490
1 mengubah file dengan 2 tambahan dan 0 penghapusan
  1. 2 0
      engine/nbproject/build-bullet-natives.xml

+ 2 - 0
engine/nbproject/build-bullet-natives.xml

@@ -349,8 +349,10 @@
             <includepath path="${bullet.java.include}/win32"/>
             <includepath path="${bullet.java.include}/win32"/>
             <includepath path="${bullet.bullet.include}"/>
             <includepath path="${bullet.bullet.include}"/>
             <compilerarg value="-m32"/>
             <compilerarg value="-m32"/>
+            <compilerarg value="-static-libgcc"/>
             <linker name="${bullet.linux.crosscompiler}">
             <linker name="${bullet.linux.crosscompiler}">
                 <linkerarg value="-mdll"/>
                 <linkerarg value="-mdll"/>
+                <linkerarg value="-static"/>
                 <libset dir="build/bullet-base-mingw" libs="BulletMultiThreaded,BulletDynamics,BulletCollision,LinearMath"/>
                 <libset dir="build/bullet-base-mingw" libs="BulletMultiThreaded,BulletDynamics,BulletCollision,LinearMath"/>
             </linker>
             </linker>
         </cc>
         </cc>