summaryrefslogtreecommitdiffhomepage
path: root/subr
diff options
context:
space:
mode:
Diffstat (limited to 'subr')
-rw-r--r--subr/pkg_install_strip.subr3
1 files changed, 2 insertions, 1 deletions
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;