Fixed Linux build as shared lib.

This commit is contained in:
Branimir Karadžić 2017-01-08 17:07:29 -08:00
parent c992291e94
commit 61638ce0a7
2 changed files with 5 additions and 1 deletions

View File

@ -46,6 +46,10 @@ function bgfxProject(_name, _kind, _defines)
"BGFX_SHARED_LIB_BUILD=1",
}
links {
"bx",
}
configuration { "vs20* or mingw*" }
links {
"gdi32",

View File

@ -142,9 +142,9 @@ function exampleProject(_name)
}
links {
"example-common",
"bgfx",
"bx",
"example-common",
}
if _OPTIONS["with-sdl"] then