1
0
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:
tux3 2015-02-22 18:22:53 +01:00
parent ff313670f3
commit 245c09b25e
No known key found for this signature in database
GPG Key ID: 7E086DD661263264

View File

@ -110,9 +110,16 @@ android {
ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android
contains(ANDROID_TARGET_ARCH,armeabi) {
ANDROID_EXTRA_LIBS = \
$$ANDROID_TOOLCHAIN/lib/libopenal.so
exists($$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)
}}
}
}