- remove static build instructions for linux bullet library (the bullet library will now depend on the correct glibc version being installed on a linux system)

This commit is contained in:
Normen Hansen 2015-01-13 16:11:22 +01:00
parent fd78498bc8
commit f0870efc3b

View File

@ -23,10 +23,10 @@ libraries {
cppCompiler.args '-I', "${org.gradle.internal.jvm.Jvm.current().javaHome}/include/linux" cppCompiler.args '-I', "${org.gradle.internal.jvm.Jvm.current().javaHome}/include/linux"
cppCompiler.args "-fPIC" cppCompiler.args "-fPIC"
cppCompiler.args "-fpermissive" cppCompiler.args "-fpermissive"
cppCompiler.args "-static-libgcc" // cppCompiler.args "-static-libgcc"
cppCompiler.args "-static-libstdc++" // cppCompiler.args "-static-libstdc++"
linker.args "-static-libgcc" // linker.args "-static-libgcc"
linker.args "-static-libstdc++" // linker.args "-static-libstdc++"
} else if (targetPlatform.operatingSystem.name == "windows") { } else if (targetPlatform.operatingSystem.name == "windows") {
cppCompiler.args "-I${org.gradle.internal.jvm.Jvm.current().javaHome}/include/win32" cppCompiler.args "-I${org.gradle.internal.jvm.Jvm.current().javaHome}/include/win32"
// cppCompiler.define('WIN32') // cppCompiler.define('WIN32')