This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +13
-5
lines changed
src/ci/docker/host-x86_64/dist-various-2 Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -30,12 +30,12 @@ cd solaris
3030dpkg --add-architecture $APT_ARCH
3131apt-get update
3232apt-get download $( apt-cache depends --recurse --no-replaces \
33- libc-dev :$APT_ARCH \
33+ libc:$APT_ARCH \
3434 libm-dev:$APT_ARCH \
35- libpthread-dev :$APT_ARCH \
36- libresolv-dev :$APT_ARCH \
37- librt-dev :$APT_ARCH \
38- libsocket-dev :$APT_ARCH \
35+ libpthread:$APT_ARCH \
36+ libresolv:$APT_ARCH \
37+ librt:$APT_ARCH \
38+ libsocket:$APT_ARCH \
3939 system-crt:$APT_ARCH \
4040 system-header:$APT_ARCH \
4141 | grep " ^\w" )
@@ -44,6 +44,14 @@ for deb in *$APT_ARCH.deb; do
4444 dpkg -x $deb .
4545done
4646
47+ # The -dev packages are not available from the apt repository we're using.
48+ # However, those packages are just symlinks from *.so to *.so.<version>.
49+ # This makes all those symlinks.
50+ for lib in $( find -name ' *.so.*' ) ; do
51+ target=${lib% .so.* } .so
52+ [ -e $target ] || ln -s ${lib##*/ } $target
53+ done
54+
4755# Remove Solaris 11 functions that are optionally used by libbacktrace.
4856# This is for Solaris 10 compatibility.
4957rm usr/include/link.h
You can’t perform that action at this time.
0 commit comments