aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking
diff options
context:
space:
mode:
authorAndreas Müller <schnitzeltony@googlemail.com>2016-09-04 22:15:12 +0200
committerJoe MacDonald <joe_macdonald@mentor.com>2016-09-12 10:43:37 -0400
commitb60c60806e57f69233db582ef88d113867c2ecd1 (patch)
tree5e9630f0692703717f98548dee037b2828586847 /meta-networking
parent365fd1eda2e18cf27a1c57dad595e124bab508fd (diff)
downloadmeta-openembedded-contrib-b60c60806e57f69233db582ef88d113867c2ecd1.tar.gz
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>
Diffstat (limited to 'meta-networking')
-rw-r--r--meta-networking/recipes-connectivity/samba/samba_4.4.5.bb2
1 files changed, 1 insertions, 1 deletions
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 2d235540e2..7d7fa02a5c 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