From 3513b8236941b9582b1c408c33618661c2e25826 Mon Sep 17 00:00:00 2001 From: Andreas Müller Date: Sun, 4 Sep 2016 22:15:12 +0200 Subject: samba: fix build by linking with bfd instead of gold MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Use this workaround as long as there is no better (upstream) fix Signed-off-by: Andreas Müller Signed-off-by: Martin Jansa Signed-off-by: Joe MacDonald (cherry picked from commit b60c60806e57f69233db582ef88d113867c2ecd1) Signed-off-by: Andreas Oberritter --- meta-networking/recipes-connectivity/samba/samba_4.4.5.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-networking/recipes-connectivity/samba/samba_4.4.5.bb b/meta-networking/recipes-connectivity/samba/samba_4.4.5.bb index e39bc6bd90..b11462a0fe 100644 --- a/meta-networking/recipes-connectivity/samba/samba_4.4.5.bb +++ b/meta-networking/recipes-connectivity/samba/samba_4.4.5.bb @@ -88,7 +88,7 @@ EXTRA_OECONF += "--enable-fhs \ " DISABLE_STATIC = "" -LDFLAGS += "-Wl,-z,relro,-z,now" +LDFLAGS += "-Wl,-z,relro,-z,now ${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}" do_install_append() { if ${@bb.utils.contains('PACKAGECONFIG', 'systemd', 'true', 'false', d)}; then -- cgit 1.2.3-korg