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

@@ -164,6 +164,9 @@ project ("Test_PhysicsServerLoopBack")
"BussIK",
"LinearMath"
}
if os.is("Linux") then
links{"dl"}
end
files {
"test.c",
@@ -250,6 +253,9 @@ end
"BussIK",
"LinearMath"
}
if os.is("Linux") then
links{"dl"}
end
files {
"test.c",

View File

@@ -16,3 +16,7 @@
includedirs {
".","include"
}
if os.is("Linux") then
buildoptions{"-fPIC"}
end