Merge branch 'each-fix-macos-build' into 'master'

fix shared library build on darwin

See merge request !1197
35 jobs for master in 15 minutes and 18 seconds (queued for 7 seconds)
Status Job ID Name Coverage
  Precheck
passed 🐞:sid:amd64:precheck #119810
amd64 docker linux

00:00:39

passed sid:amd64:precheck #119809
amd64 docker linux

00:00:16

 
  Build
passed asan:sid:amd64:build #119817
amd64 docker linux

00:03:23

passed centos6:amd64:build #119811
amd64 docker linux

00:02:25

passed centos7:amd64:build #119812
amd64 docker linux

00:02:48

passed clang:stretch:amd64:build #119813
linux amd64 docker

00:01:12

passed clang:stretch:i386:build #119818
i386 docker linux

00:01:14

passed jessie:amd64:build #119814
amd64 docker linux

00:00:59

passed noassert:sid:amd64:build #119821
amd64 docker linux

00:01:23

passed pkcs11:sid:amd64:build #119820
amd64 docker linux

00:01:09

passed sid:amd64:build #119816
amd64 docker linux

00:01:13

passed sid:i386:build #119819
i386 docker linux

00:01:49

passed stretch:amd64:build #119815
amd64 docker linux

00:01:14

 
  Test
passed docs:sid:amd64 #119822
amd64 docker linux

00:00:58

passed install:sid:amd64 #119838
amd64 docker linux

00:01:34

passed noassert:system:sid:amd64 #119842
amd64 docker linux

00:09:08

passed noassert:unit:sid:amd64 #119841
amd64 docker linux

00:00:49

passed pkcs11:system:sid:amd64 #119840
amd64 docker linux

00:08:51

passed pkcs11:unit:sid:amd64 #119839
amd64 docker linux

00:00:48

passed system:asan:sid:amd64 #119836
amd64 docker linux

00:11:02

passed system:centos6:amd64 #119831
amd64 docker linux

00:09:15

passed system:centos7:amd64 #119832
amd64 docker linux

00:09:22

passed system:jessie:amd64 #119833
amd64 docker linux

00:08:43

passed system:sid:amd64 #119835
amd64 docker linux

00:09:28

passed system:sid:i386 #119837
i386 docker linux

00:09:29

passed system:stretch:amd64 #119834
amd64 docker linux

00:09:26

passed unit:asan:sid:amd64 #119828
amd64 docker linux

00:00:54

passed unit:centos6:amd64 #119823
amd64 docker linux

00:00:49

passed unit:centos7:amd64 #119824
amd64 docker linux

00:00:51

passed unit:clang:stretch:amd64 #119829
amd64 docker linux

00:00:47

passed unit:jessie:amd64 #119825
amd64 docker linux

00:00:31

passed unit:sid:amd64 #119827
amd64 docker linux

00:00:50

passed unit:sid:i386 #119830
i386 docker linux

00:00:48

passed unit:stretch:amd64 #119826
amd64 docker linux

00:00:53

 
  Push
passed docs:push #119843
amd64 docker linux

00:00:12