mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 18:45:54 -05:00
Merge pull request #294 from martinfelis/fix_shared_library_pic
Linux: fixed building of shared libraries
This commit is contained in:
commit
93ee7f1993
1 changed files with 5 additions and 0 deletions
|
@ -25,6 +25,11 @@ function bgfxProject(_name, _kind, _defines)
|
|||
"-shared",
|
||||
}
|
||||
|
||||
configuration { "linux-*" }
|
||||
buildoptions {
|
||||
"-fPIC",
|
||||
}
|
||||
|
||||
configuration {}
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue