fix strip with new meson

This commit is contained in:
Sascha Kuehndel (InuSasha) 2019-09-04 12:07:06 +02:00
parent fed6412a29
commit 2d78194f84
No known key found for this signature in database
GPG Key ID: 109697069529A6DC

View File

@ -164,6 +164,10 @@ TARGET_MESON_OPTS="--prefix=/usr \
--libexecdir=/usr/lib \
--localstatedir=/var \
--buildtype=${MESON_BUILD_TYPE}"
if [ ${BUILD_WITH_DEBUG} != yes ] && flag_enabled "strip" "yes"; then
TARGET_MESON_OPTS+=" -Dstrip=true"
fi
# configure HOST build defaults
HOST_CONFIGURE_OPTS="--host=${HOST_NAME} \