From 61638ce0a7ae78d1aba4392f87fb6e82c827cc13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Sun, 8 Jan 2017 17:07:29 -0800 Subject: [PATCH] Fixed Linux build as shared lib. --- scripts/bgfx.lua | 4 ++++ scripts/genie.lua | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/bgfx.lua b/scripts/bgfx.lua index 53a761bbb..f95e99f6d 100644 --- a/scripts/bgfx.lua +++ b/scripts/bgfx.lua @@ -46,6 +46,10 @@ function bgfxProject(_name, _kind, _defines) "BGFX_SHARED_LIB_BUILD=1", } + links { + "bx", + } + configuration { "vs20* or mingw*" } links { "gdi32", diff --git a/scripts/genie.lua b/scripts/genie.lua index 534982e7b..416075b9e 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -142,9 +142,9 @@ function exampleProject(_name) } links { + "example-common", "bgfx", "bx", - "example-common", } if _OPTIONS["with-sdl"] then