diff options
author | Sven Neumann <s.neumann@raumfeld.com> | 2009-09-21 18:48:10 +0200 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2009-09-21 21:25:00 +0200 |
commit | 5fda7023ff87c3103f4eb52b4205fb2549e17423 (patch) | |
tree | a1c194e3342a57695238c0429f936017ed38e244 /package/samba/samba.mk | |
parent | c5388a1c6267023bc3f99196582e09b52137e1e0 (diff) |
samba: explicitly link with -pthread if avahi support is enabled
The avahi-client library makes use of threads. We need to link the
smbd binary with -pthread if avahi support is enabled. Otherwise the
binary will crash at startup.
Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/samba/samba.mk')
-rw-r--r-- | package/samba/samba.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package/samba/samba.mk b/package/samba/samba.mk index 45e9938cf..82bf152e2 100644 --- a/package/samba/samba.mk +++ b/package/samba/samba.mk @@ -36,6 +36,7 @@ $(SAMBA_DIR)/.configured: $(SAMBA_DIR)/.unpacked samba_cv_CC_NEGATIVE_ENUM_VALUES=yes \ samba_cv_fpie=no \ libreplace_cv_HAVE_IPV6=$(if $(BR2_INET_IPV6),yes,no) \ + AVAHI_LIBS=-pthread \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ |