Skip to content

Commit 835349d

Browse files
committed
add more libc 34 files
1 parent 9da8052 commit 835349d

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.ci/scripts/wheel/pre_build_script.sh

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,15 @@ echo ">>> Extracting RPM with bsdtar"
6565
bsdtar -C /tmp -xf /tmp/glibc.rpm
6666

6767
# Copy needed files from the extracted tree (not host system!)
68-
cp -av /tmp/lib64/libc.so.6 /tmp/lib64/ld-linux-x86-64.so.2 "$PREFIX/lib/" || true
68+
# Copy all runtime libs from extracted RPM
69+
cp -av /tmp/lib64/libc.so.6 \
70+
/tmp/lib64/ld-linux-x86-64.so.2 \
71+
/tmp/lib64/libdl.so.2 \
72+
/tmp/lib64/libpthread.so.0 \
73+
/tmp/lib64/librt.so.1 \
74+
/tmp/lib64/libm.so.6 \
75+
/tmp/lib64/libutil.so.1 \
76+
"$PREFIX/lib/" || true
6977

7078
# Check what we staged
7179
echo ">>> Contents staged in $PREFIX/lib"

0 commit comments

Comments
 (0)