Blame SOURCES/0001-autoconf-fix-link-of-libwbclient.patch

97823b
From 38fdc7aff2991fd43f0b98fb0bacbc574477449c Mon Sep 17 00:00:00 2001
97823b
From: Jeff Layton <jlayton@samba.org>
97823b
Date: Sat, 7 Dec 2013 08:54:59 -0500
97823b
Subject: [PATCH 1/5] autoconf: fix link of libwbclient
97823b
97823b
It's currently getting added to $LIBS and being linked into places that
97823b
we don't need it.
97823b
97823b
Signed-off-by: Jeff Layton <jlayton@samba.org>
97823b
(cherry picked from commit 2152ccc3d61e5248c70360020a0aa279a24f852c)
97823b
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
97823b
---
97823b
 aclocal/idmap.m4 | 2 ++
97823b
 1 file changed, 2 insertions(+)
97823b
97823b
diff --git a/aclocal/idmap.m4 b/aclocal/idmap.m4
97823b
index c5727f6..3ccdae3 100644
97823b
--- a/aclocal/idmap.m4
97823b
+++ b/aclocal/idmap.m4
97823b
@@ -21,6 +21,7 @@ fi
97823b
 
97823b
 if test $enable_cifsacl != "no" -o $enable_cifsacl != "no"; then
97823b
 	ac_wbc_save_LDFLAGS="$LDFLAGS"
97823b
+	ac_wbc_save_LIBS="$LIBS"
97823b
 	LDFLAGS="$LDFLAGS $WBCLIENT_LIBS"
97823b
 	AC_CHECK_LIB(wbclient, wbcSidsToUnixIds, , [
97823b
 				if test "$enable_cifsidmap" = "yes"; then
97823b
@@ -37,6 +38,7 @@ if test $enable_cifsacl != "no" -o $enable_cifsacl != "no"; then
97823b
 				fi
97823b
 			])
97823b
 	LDFLAGS=$ac_wbc_save_LDFLAGS
97823b
+	LIBS=$ac_wbc_save_LIBS
97823b
 fi
97823b
 
97823b
 if test $enable_cifsacl != "no"; then
97823b
-- 
97823b
2.5.5
97823b