summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/android/android.prf
blob: 45eadc9fdb2df5a2a5a9091e6354a57459164afe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
android_install:contains(INSTALLS, target):!isEmpty(target.path): \
    CONFIG -= android_install

contains(TEMPLATE, ".*app") {
    !android_app {
        !contains(TARGET, ".so"): TARGET = lib$${TARGET}.so
        QMAKE_LFLAGS += -Wl,-soname,$$shell_quote($$TARGET)

        android_install {
            target.path=/libs/$$ANDROID_TARGET_ARCH/
            INSTALLS *= target
        }
    }
} else: contains(TEMPLATE, "lib"):!static:android_install {
    target.path = /libs/$$ANDROID_TARGET_ARCH/
    INSTALLS *= target
}