From c758d294edf922ada25fcb73e967b978b90852dd Mon Sep 17 00:00:00 2001 From: fysx Date: Mon, 16 Mar 2015 21:22:06 +0100 Subject: [PATCH] Linux: fixed building of shared libraries --- scripts/bgfx.lua | 5 +++++ 1 file changed, 5 insertions(+) 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