fix shared library build on darwin

34 jobs for each-fix-macos-build in 20 seconds (queued for 6 seconds)
Status Job ID Name Coverage
  Precheck
canceled #119776
amd64 docker linux
🐞:sid:amd64:precheck

00:00:20

passed #119775
amd64 docker linux
sid:amd64:precheck

00:00:18

 
  Build
canceled #119783
amd64 docker linux
asan:sid:amd64:build

canceled #119777
amd64 docker linux
centos6:amd64:build

canceled #119778
amd64 docker linux
centos7:amd64:build

canceled #119779
amd64 docker linux
clang:stretch:amd64:build

canceled #119784
i386 docker linux
clang:stretch:i386:build

canceled #119780
amd64 docker linux
jessie:amd64:build

canceled #119787
amd64 docker linux
noassert:sid:amd64:build

canceled #119786
amd64 docker linux
pkcs11:sid:amd64:build

canceled #119782
amd64 docker linux
sid:amd64:build

canceled #119785
i386 docker linux
sid:i386:build

canceled #119781
amd64 docker linux
stretch:amd64:build

 
  Test
canceled #119788
amd64 docker linux
docs:sid:amd64

canceled #119804
amd64 docker linux
install:sid:amd64

canceled #119808
amd64 docker linux
noassert:system:sid:amd64

canceled #119807
amd64 docker linux
noassert:unit:sid:amd64

canceled #119806
amd64 docker linux
pkcs11:system:sid:amd64

canceled #119805
amd64 docker linux
pkcs11:unit:sid:amd64

canceled #119802
amd64 docker linux
system:asan:sid:amd64

canceled #119797
amd64 docker linux
system:centos6:amd64

canceled #119798
amd64 docker linux
system:centos7:amd64

canceled #119799
amd64 docker linux
system:jessie:amd64

canceled #119801
amd64 docker linux
system:sid:amd64

canceled #119803
i386 docker linux
system:sid:i386

canceled #119800
amd64 docker linux
system:stretch:amd64

canceled #119794
amd64 docker linux
unit:asan:sid:amd64

canceled #119789
amd64 docker linux
unit:centos6:amd64

canceled #119790
amd64 docker linux
unit:centos7:amd64

canceled #119795
amd64 docker linux
unit:clang:stretch:amd64

canceled #119791
amd64 docker linux
unit:jessie:amd64

canceled #119793
amd64 docker linux
unit:sid:amd64

canceled #119796
i386 docker linux
unit:sid:i386

canceled #119792
amd64 docker linux
unit:stretch:amd64