diff options
Diffstat (limited to 'packaging/android/build.sh')
-rw-r--r-- | packaging/android/build.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packaging/android/build.sh b/packaging/android/build.sh index ba724cd85..c3efa5bf1 100644 --- a/packaging/android/build.sh +++ b/packaging/android/build.sh @@ -283,9 +283,10 @@ else ANT=/usr/bin/ant FTDI=ON fi +PKGCONF=$(which pkg-config) cmake $MOBILE_CMAKE \ -DQT_ANDROID_ANT=${ANT} \ - -DPKG_CONFIG_EXECUTABLE=/usr/bin/pkg-config \ + -DPKG_CONFIG_EXECUTABLE=${PKGCONF} \ -DQT_ANDROID_SDK_ROOT=$ANDROID_SDK_ROOT \ -DQT_ANDROID_NDK_ROOT=$ANDROID_NDK_ROOT \ -DCMAKE_TOOLCHAIN_FILE=$BUILDROOT/qt-android-cmake/toolchain/android.toolchain.cmake \ |