diff options
-rw-r--r-- | locale/en_US/opkhelper.sh | 3 | ||||
-rw-r--r-- | src/oh-strip.sh | 6 |
2 files changed, 9 insertions, 0 deletions
diff --git a/locale/en_US/opkhelper.sh b/locale/en_US/opkhelper.sh index 8c3a71d..3f5e32a 100644 --- a/locale/en_US/opkhelper.sh +++ b/locale/en_US/opkhelper.sh @@ -19,3 +19,6 @@ msg_opkhelper_bad_opt='Invalid option' msg_opkhelper_installing_files='Installing files for package "%s"...' +msg_opkhelper_strip_so='Stripping shared library "%s"...' +msg_opkhelper_strip_exe='Stripping executable object "%s"...' +msg_opkhelper_strip_a='Stripping static library "%s"...' diff --git a/src/oh-strip.sh b/src/oh-strip.sh index a7ab1b0..5b8d785 100644 --- a/src/oh-strip.sh +++ b/src/oh-strip.sh @@ -82,6 +82,8 @@ strip_so() file="${1}" debug='' + ob_info "$(ob_get_msg 'strip_so')" "${file}" + if ${keep_debug}; then debug="$(keep_debug "${file}")" fi @@ -99,6 +101,8 @@ strip_exe() file="${1}" debug='' + ob_info "$(ob_get_msg 'strip_exe')" "${file}" + if ${keep_debug}; then debug="$(keep_debug "${file}")" fi @@ -115,6 +119,8 @@ strip_a() { file="${1}" + ob_info "$(ob_get_msg 'strip_a')" "${file}" + ${STRIP} --strip-debug "${dir}/${file}" } |