From 2d78194f846a72e16af1a03efa44859a5d7d1985 Mon Sep 17 00:00:00 2001 From: "Sascha Kuehndel (InuSasha)" Date: Wed, 4 Sep 2019 12:07:06 +0200 Subject: [PATCH] fix strip with new meson --- scripts/build | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/build b/scripts/build index 22c9f7fb7b..41c4f65759 100755 --- a/scripts/build +++ b/scripts/build @@ -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} \