fix premake build for linux, thanks to @consultit

See also issue #1538
This commit is contained in:
Erwin Coumans
2018-02-09 18:46:26 -08:00
parent be5e58772e
commit 508550c5e9
32 changed files with 108 additions and 5 deletions

View File

@@ -2,6 +2,10 @@
kind "StaticLib"
if os.is("Linux") then
buildoptions{"-fPIC"}
end
includedirs {
"../../../src"
}

View File

@@ -6,7 +6,11 @@
"../BulletFileLoader",
"../../../src"
}
if os.is("Linux") then
buildoptions{"-fPIC"}
end
files {
"**.cpp",
"**.h"

View File

@@ -1,7 +1,7 @@
project "BulletXmlWorldImporter"
kind "StaticLib"
targetdir "../../lib"
--targetdir "../../lib"
includedirs {
"../BulletWorldImporter",
"../BulletFileLoader",
@@ -11,4 +11,4 @@
files {
"**.cpp",
"**.h"
}
}