mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Android: Better search for libopenal.so
This commit is contained in:
parent
ff313670f3
commit
245c09b25e
11
qtox.pro
11
qtox.pro
|
@ -110,9 +110,16 @@ android {
|
||||||
|
|
||||||
ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android
|
ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android
|
||||||
contains(ANDROID_TARGET_ARCH,armeabi) {
|
contains(ANDROID_TARGET_ARCH,armeabi) {
|
||||||
ANDROID_EXTRA_LIBS = \
|
exists($$ANDROID_TOOLCHAIN/lib/libopenal.so) {
|
||||||
$$ANDROID_TOOLCHAIN/lib/libopenal.so
|
ANDROID_EXTRA_LIBS = $$ANDROID_TOOLCHAIN/lib/libopenal.so
|
||||||
|
} else {
|
||||||
|
exists($$PWD/libs/lib/libopenal.so) {
|
||||||
|
ANDROID_EXTRA_LIBS = $$PWD/libs/lib/libopenal.so
|
||||||
|
} else {
|
||||||
|
error(Can\'t find libopenal.so)
|
||||||
|
}}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user