diff --git a/scripts/bgfx.lua b/scripts/bgfx.lua index 30646cfd..644f9c4e 100644 --- a/scripts/bgfx.lua +++ b/scripts/bgfx.lua @@ -25,6 +25,11 @@ function bgfxProject(_name, _kind, _defines) "-shared", } + configuration { "linux-*" } + buildoptions { + "-fPIC", + } + configuration {} end