Skip to content

Commit c6e1845

Browse files
committed
Don't strip libraries
1 parent 4f8fabd commit c6e1845

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

linuxdeploy-plugin-python.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -199,14 +199,11 @@ patch_binary() {
199199
if [ "${name::3}" == "lib" ]; then
200200
if [ ! -f "${APPDIR}/usr/lib/${name}" ] && [ ! -L "${APPDIR}/usr/lib/${name}" ]; then
201201
echo "Patching dependency ${name}"
202-
strip "$1"
203202
"${patchelf}" --set-rpath '$ORIGIN' "$1"
204203
ln -s "$2"/"$1" "${APPDIR}/usr/lib/${name}"
205204
fi
206205
else
207206
echo "Patching C-extension module ${name}"
208-
strip "$1"
209-
210207
local rel=$(dirname $(readlink -f $1))
211208
rel=${rel#${APPDIR}/usr}
212209
rel=$(echo $rel | sed 's|/[_a-zA-Z0-9.-]*|/..|g')
@@ -221,7 +218,6 @@ patch_binary() {
221218
if [ ! "$(is_excluded ${lib})" ]; then
222219
echo "Installing dependency ${lib}"
223220
cp "${deps}" "${APPDIR}/usr/lib"
224-
strip "${APPDIR}/usr/lib/${lib}"
225221
"${patchelf}" --set-rpath '$ORIGIN' "${APPDIR}/usr/lib/${lib}"
226222
fi
227223
fi

0 commit comments

Comments
 (0)