diff options
author | Erwin Coumans <erwincoumans@google.com> | 2018-02-09 18:46:26 -0800 |
---|---|---|
committer | Erwin Coumans <erwincoumans@google.com> | 2018-02-09 18:46:26 -0800 |
commit | 508550c5e98965a86cdb83bca5bb8a5ba6a6999a (patch) | |
tree | 24e4c1478901154611d6cff97d9e8f54021be995 /Extras/HACD | |
parent | be5e58772eeae30454942c9d32bf1b4f2cfa2a0c (diff) | |
download | bullet3-508550c5e98965a86cdb83bca5bb8a5ba6a6999a.tar.gz |
fix premake build for linux, thanks to @consultit
See also issue #1538
Diffstat (limited to 'Extras/HACD')
-rw-r--r-- | Extras/HACD/premake4.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Extras/HACD/premake4.lua b/Extras/HACD/premake4.lua index 14b83929a..c2f03c173 100644 --- a/Extras/HACD/premake4.lua +++ b/Extras/HACD/premake4.lua @@ -3,6 +3,9 @@ kind "StaticLib" includedirs {"."} + if os.is("Linux") then + buildoptions{"-fPIC"} + end files { "**.cpp", "**.h" |