Merge pull request #294 from martinfelis/fix_shared_library_pic

Linux: fixed building of shared libraries
This commit is contained in:
Branimir Karadžić 2015-03-16 14:07:06 -07:00
commit 93ee7f1993

View file

@ -25,6 +25,11 @@ function bgfxProject(_name, _kind, _defines)
"-shared", "-shared",
} }
configuration { "linux-*" }
buildoptions {
"-fPIC",
}
configuration {} configuration {}
end end