mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-25 00:58:30 -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",
|
"-shared",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
configuration { "linux-*" }
|
||||||
|
buildoptions {
|
||||||
|
"-fPIC",
|
||||||
|
}
|
||||||
|
|
||||||
configuration {}
|
configuration {}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue