fix: lib name for android build
This commit is contained in:
parent
46dd164618
commit
bd0643b920
|
|
@ -1 +1 @@
|
|||
Subproject commit 5b30b13af9b9537d4226c922d04106dc4ba0595b
|
||||
Subproject commit 75807feeb3cbc9dcae313cca7541e6011625b19f
|
||||
|
|
@ -1,8 +1,26 @@
|
|||
win32 {
|
||||
CONFIG(debug,debug|release): LIBDIR = $$absolute_path($$OUT_PWD/../../src/debug)
|
||||
CONFIG(release,debug|release): LIBDIR = $$absolute_path($$OUT_PWD/../../src/release)
|
||||
LIBS += -L$$LIBDIR -lnut
|
||||
} else {
|
||||
LIBDIR = $$absolute_path($$OUT_PWD/../../src)
|
||||
android: {
|
||||
|
||||
contains(ANDROID_TARGET_ARCH,armeabi-v7a) {
|
||||
LIBS += -L$$LIBDIR -lnut_armeabi-v7a
|
||||
}
|
||||
contains(ANDROID_TARGET_ARCH,arm64-v8a) {
|
||||
LIBS += -L$$LIBDIR -lnut_arm64-v8a
|
||||
}
|
||||
contains(ANDROID_TARGET_ARCH,x86) {
|
||||
LIBS += -L$$LIBDIR -lnut_x86
|
||||
}
|
||||
contains(ANDROID_TARGET_ARCH,x86_64) {
|
||||
LIBS += -L$$LIBDIR -lnut_x86_64
|
||||
}
|
||||
} else {
|
||||
LIBS += -L$$LIBDIR -lnut
|
||||
}
|
||||
}
|
||||
|
||||
LIBS += -L$$LIBDIR -lnut
|
||||
|
|
|
|||
Loading…
Reference in New Issue