[SSSD] [PATCH] Cleanups for library linking

Sumit Bose sbose at redhat.com
Wed Sep 9 12:19:38 UTC 2009


Hi,

I think the LDAP provider should link agains a LDAP library. So far it
only worked, because sssd_be exports all symbols and links against
libldb which links against libldap. 

bye,
Sumit
-------------- next part --------------
>From 911e1f245e00b95621d1d21e43c688e8973ceb12 Mon Sep 17 00:00:00 2001
From: sbose <sbose at sles10.site>
Date: Wed, 9 Sep 2009 12:14:07 +0200
Subject: [PATCH] Cleanups for library linking

- remove unused PAM_LIBS from LDAP and Kerberos provider
- add OPENLDAP_LIBS to LDAP provider
---
 server/Makefile.am |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/server/Makefile.am b/server/Makefile.am
index e7885b3..27ac01d 100644
--- a/server/Makefile.am
+++ b/server/Makefile.am
@@ -374,7 +374,7 @@ libsss_ldap_la_CFLAGS = \
     $(AM_CFLAGS) \
     $(LDAP_CFLAGS)
 libsss_ldap_la_LIBADD = \
-    $(PAM_LIBS)
+    $(OPENLDAP_LIBS)
 libsss_ldap_la_LDFLAGS = \
     -version-info 1:0:0 \
     -module
@@ -396,7 +396,6 @@ libsss_krb5_la_CFLAGS = \
     $(AM_CFLAGS) \
     $(KRB5_CFLAGS)
 libsss_krb5_la_LIBADD = \
-    $(PAM_LIBS) \
     $(KRB5_LIBS)
 libsss_krb5_la_LDFLAGS = \
     -version-info 1:0:0 \
-- 
1.6.2.5



More information about the sssd-devel mailing list