Restore lib prefix on Android, as it's required by the package manager. Otherwise, it skips unpacking libraries without the prefix. (#721)
This commit is contained in:
parent
4a57df3a45
commit
34630a4103
1 changed files with 5 additions and 1 deletions
|
|
@ -831,6 +831,10 @@ bool Game::loadCSBinary () {
|
|||
if (libSuffix.empty ())
|
||||
libs.insert (0, { "mp", "cs", "cs_i386" });
|
||||
else {
|
||||
// on Android, it's important to have `lib` prefix, otherwise package manager won't unpack the libraries
|
||||
if (plat.android)
|
||||
libs.insert (0, { "libcs" });
|
||||
else
|
||||
libs.insert (0, { "mp", "cs" });
|
||||
|
||||
for (auto &lib: libs) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue