* [Buildroot] [PATCH] samba: explicitly link with -pthread if avahi support is enabled
@ 2009-09-21 16:48 Sven Neumann
2009-09-21 19:26 ` Peter Korsgaard
0 siblings, 1 reply; 2+ messages in thread
From: Sven Neumann @ 2009-09-21 16:48 UTC (permalink / raw)
To: buildroot
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>
---
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 2c344a1..1cead40 100644
--- a/package/samba/samba.mk
+++ b/package/samba/samba.mk
@@ -61,6 +61,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) \
--
1.6.0.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] samba: explicitly link with -pthread if avahi support is enabled
2009-09-21 16:48 [Buildroot] [PATCH] samba: explicitly link with -pthread if avahi support is enabled Sven Neumann
@ 2009-09-21 19:26 ` Peter Korsgaard
0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2009-09-21 19:26 UTC (permalink / raw)
To: buildroot
>>>>> "Sven" == Sven Neumann <s.neumann@raumfeld.com> writes:
Sven> The avahi-client library makes use of threads. We need to link the
Sven> smbd binary with -pthread if avahi support is enabled. Otherwise the
Sven> binary will crash at startup.
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-09-21 19:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-21 16:48 [Buildroot] [PATCH] samba: explicitly link with -pthread if avahi support is enabled Sven Neumann
2009-09-21 19:26 ` Peter Korsgaard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.