From 020a8e3281b215a53363f3cdf8d349ff829b016b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz?= Date: Sat, 19 Jan 2019 19:24:50 +0000 Subject: subr/pkg_install_strip.subr:pkg_install_strip(): exclude non-native packages. --- subr/pkg_install_strip.subr | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'subr/pkg_install_strip.subr') diff --git a/subr/pkg_install_strip.subr b/subr/pkg_install_strip.subr index 5b34d70e..c8c04a46 100644 --- a/subr/pkg_install_strip.subr +++ b/subr/pkg_install_strip.subr @@ -5,7 +5,8 @@ pkg_install_strip() { local _tree_root="${PKG_DESTDIR}" _bin_path=""; if [ -e "${_tree_root}" ]\ - && [ "${BUILD}" != release ]; then + && [ "${BUILD}" != release ]\ + && [ "${PKG_BUILD_TYPE}" = native ]; then if [ "${PKG_NAME%_minipix}" != "${PKG_NAME}" ]\ && [ "${ARG_DEBUG_MINIPIX:-0}" -eq 1 ]; then return; -- cgit v1.2.3