Explicit dependencies of static -lbfd
authorStephane Glondu <steph@glondu.net>
Sun, 18 Aug 2019 06:30:05 +0000 (08:30 +0200)
committerStephane Glondu <Stéphane Glondu glondu@debian.org>
Sun, 18 Aug 2019 06:38:13 +0000 (08:38 +0200)
debian/rules

index f97d1cb85f7caf7e4479d436ee1787c31fc64a07..ca2d610a06a1cb7962fce06dbd4b8bf25fd398cf 100755 (executable)
@@ -61,7 +61,7 @@ CONFIGURE_OPTS := \
   -mandir $(DEB_TEST_BUILD_PREFIX)/usr/share/man \
 
 CONFIGURE_SED := \
-  -e "/LIBBFD_LINK/s%-lbfd%-Wl,-Bstatic -lbfd -Wl,-Bdynamic%"
+  -e "/LIBBFD_LINK/s%-lbfd%-Wl,-Bstatic -lbfd -liberty -Wl,-Bdynamic -lz -ldl%"
 
 # Upstream recommends dropping support on armel, see https://github.com/ocaml/ocaml/issues/7642
 # Binaries generated by ocamlopt segfault on x32