File tree 1 file changed +13
-5
lines changed
src/ci/docker/host-x86_64/dist-various-2
1 file changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -30,12 +30,12 @@ cd solaris
30
30
dpkg --add-architecture $APT_ARCH
31
31
apt-get update
32
32
apt-get download $( apt-cache depends --recurse --no-replaces \
33
- libc-dev :$APT_ARCH \
33
+ libc:$APT_ARCH \
34
34
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 \
39
39
system-crt:$APT_ARCH \
40
40
system-header:$APT_ARCH \
41
41
| grep " ^\w" )
@@ -44,6 +44,14 @@ for deb in *$APT_ARCH.deb; do
44
44
dpkg -x $deb .
45
45
done
46
46
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
+
47
55
# Remove Solaris 11 functions that are optionally used by libbacktrace.
48
56
# This is for Solaris 10 compatibility.
49
57
rm usr/include/link.h
You can’t perform that action at this time.
0 commit comments