samba: fix build by linking with bfd instead of gold

Use this workaround as long as there is no better (upstream) fix

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
This commit is contained in:
Andreas Müller
2016-09-04 22:15:12 +02:00
committed by Joe MacDonald
parent 365fd1eda2
commit b60c60806e
@@ -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