All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sven Neumann <s.neumann@raumfeld.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/3] samba: fix linking of smbd with avahi support
Date: Mon,  1 Aug 2011 23:46:15 +0200	[thread overview]
Message-ID: <1312235176-31058-3-git-send-email-s.neumann@raumfeld.com> (raw)
In-Reply-To: <1312235176-31058-1-git-send-email-s.neumann@raumfeld.com>

Expliticly link with -lpthread if smbd is compiled with
avahi support. Otherwise the binary will fail to run.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
---
 package/samba/samba-fix-smbd-libs-avahi.patch |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)
 create mode 100644 package/samba/samba-fix-smbd-libs-avahi.patch

diff --git a/package/samba/samba-fix-smbd-libs-avahi.patch b/package/samba/samba-fix-smbd-libs-avahi.patch
new file mode 100644
index 0000000..c317b84
--- /dev/null
+++ b/package/samba/samba-fix-smbd-libs-avahi.patch
@@ -0,0 +1,11 @@
+--- a/source3/Makefile.in	2010-10-07 18:41:16.000000000 +0200
++++ b/source3/Makefile.in	2010-10-27 14:52:40.000000000 +0200
+@@ -1552,7 +1552,7 @@
+ 		$(KRB5LIBS) $(DYNEXP) $(PRINT_LIBS) $(AUTH_LIBS) \
+ 		$(ACL_LIBS) $(PASSDB_LIBS) $(LIBS) $(DNSSD_LIBS) $(AVAHI_LIBS) \
+ 		$(POPT_LIBS) @SMBD_LIBS@ $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
+-		$(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
++		$(LIBWBCLIENT_LIBS) $(ZLIB_LIBS) $(PTHREAD_LDFLAGS)
+ 
+ bin/nmbd at EXEEXT@: $(BINARY_PREREQS) $(NMBD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
+ 	@echo Linking $@
-- 
1.7.4.1

  parent reply	other threads:[~2011-08-01 21:46 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-01 21:46 [Buildroot] samba: bump to version 3.5.10 Sven Neumann
2011-08-01 21:46 ` [Buildroot] [PATCH 1/3] " Sven Neumann
2011-08-01 21:46 ` Sven Neumann [this message]
2011-09-11 20:45   ` [Buildroot] [PATCH 2/3] samba: fix linking of smbd with avahi support Peter Korsgaard
2011-08-01 21:46 ` [Buildroot] [PATCH 3/3] samba: make installation of smbd configurable Sven Neumann
2011-09-11 20:46   ` Peter Korsgaard
2011-08-01 21:52 ` [Buildroot] [PATCH 1/3] samba: bump to version 3.5.10 Sven Neumann
2011-09-11 20:44   ` Peter Korsgaard
2011-09-12  8:10     ` [Buildroot] samba: bump to version 3.5.10 (UPDATE) Sven Neumann
2011-09-12  8:11       ` [Buildroot] [PATCH 1/2] samba: bump to version 3.5.10 Sven Neumann
2011-09-12 21:13         ` Peter Korsgaard
2011-09-13  8:42           ` [Buildroot] samba: bump to 3.5.11 Sven Neumann
2011-09-13  8:42             ` [Buildroot] [PATCH 1/2] " Sven Neumann
2011-09-13 21:29               ` Peter Korsgaard
2011-09-13  8:42             ` [Buildroot] [PATCH 2/2] samba: fix linking of smbd with avahi support Sven Neumann
2011-09-13 21:29               ` Peter Korsgaard
2011-09-12  8:11       ` Sven Neumann
2011-08-02  8:24 ` [Buildroot] samba: bump to version 3.5.10 Sven Neumann
2011-08-02  8:35   ` Baruch Siach

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1312235176-31058-3-git-send-email-s.neumann@raumfeld.com \
    --to=s.neumann@raumfeld.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.