mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Fix target extension on android for shared-library (#2175)
* Fix target extension on android for shared-library * Add soname for linker To avoid runtime dlopen() errors
This commit is contained in:
@@ -69,6 +69,14 @@ function bgfxProjectBase(_kind, _defines)
|
||||
"GL",
|
||||
"pthread",
|
||||
}
|
||||
configuration { "android*" }
|
||||
targetextension ".so"
|
||||
|
||||
configuration { "android*" ,"Debug"}
|
||||
linkoptions{"-soname libbgfx-shared-libDebug.so" }
|
||||
|
||||
configuration { "android*" ,"Release"}
|
||||
linkoptions{"-soname libbgfx-shared-libRelease.so" }
|
||||
|
||||
configuration {}
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user