|
|
|
|
@ -8,24 +8,17 @@ INSTALL_DIR=${BUILD_DIR}/INSTALL
|
|
|
|
|
|
|
|
|
|
case ${PLATFORM} in
|
|
|
|
|
"native_static")
|
|
|
|
|
MESON_OPTION="--default-library=static"
|
|
|
|
|
MESON_OPTION="-Dstatic-linkage=true"
|
|
|
|
|
;;
|
|
|
|
|
"native_dyn")
|
|
|
|
|
MESON_OPTION="--default-library=shared"
|
|
|
|
|
MESON_OPTION=""
|
|
|
|
|
;;
|
|
|
|
|
"win32_static")
|
|
|
|
|
MESON_OPTION="--default-library=static --cross-file ${BUILD_DIR}/meson_cross_file.txt"
|
|
|
|
|
MESON_OPTION="-Dstatic-linkage=true --cross-file ${BUILD_DIR}/meson_cross_file.txt"
|
|
|
|
|
;;
|
|
|
|
|
"win32_dyn")
|
|
|
|
|
MESON_OPTION="--default-library=shared --cross-file ${BUILD_DIR}/meson_cross_file.txt"
|
|
|
|
|
MESON_OPTION="--cross-file ${BUILD_DIR}/meson_cross_file.txt"
|
|
|
|
|
;;
|
|
|
|
|
"android_arm")
|
|
|
|
|
MESON_OPTION="-Dandroid=true --default-library=shared --cross-file ${BUILD_DIR}/meson_cross_file.txt"
|
|
|
|
|
;;
|
|
|
|
|
"android_arm64")
|
|
|
|
|
MESON_OPTION="-Dandroid=true --default-library=shared --cross-file ${BUILD_DIR}/meson_cross_file.txt"
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
esac
|
|
|
|
|
|
|
|
|
|
cd ${TRAVIS_BUILD_DIR}
|
|
|
|
|
|