Skip to content

Commit bcd7a18

Browse files
committed
Update finalize.sh
1 parent 399d7ed commit bcd7a18

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docker/build_scripts/finalize.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,5 @@ LC_ALL=C "${MY_DIR}/update-system-packages.sh"
106106

107107
# patch libstdc++.so (see https://github.com/pypa/manylinux/issues/1760)
108108
if [ "${AUDITWHEEL_POLICY}" == "manylinux_2_28" ]; then
109-
LIBSTDCXX=$(find "${DEVTOOLSET_ROOTPATH}" -name 'libstdc++.so')
110-
sed -i 's/INPUT\s*(\s*\([^ ]\+\)\s*\([^ ]\+\)\s*)/INPUT ( \1 \2 \1 )/g' "${LIBSTDCXX}"
109+
find "${DEVTOOLSET_ROOTPATH}" -name 'libstdc++.so' -exec sed -i 's/INPUT\s*(\s*\([^ ]\+\)\s*\([^ ]\+\)\s*)/INPUT ( \1 \2 \1 )/g' {} \;
111110
fi

0 commit comments

Comments
 (0)