From 872c5f2ec332fd0dcf18924fe9afff8e4186ca30 Mon Sep 17 00:00:00 2001 From: Stephane Glondu Date: Sun, 18 Aug 2019 08:30:05 +0200 Subject: [PATCH] Explicit dependencies of static -lbfd --- debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index f97d1cb8..ca2d610a 100755 --- a/debian/rules +++ b/debian/rules @@ -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 -- 2.30.2