[SSSD] [PATCH] Add support for building against openldap24-libs on RHEL 5.7
Sumit Bose
sbose at redhat.com
Thu May 5 19:24:36 UTC 2011
On Thu, May 05, 2011 at 02:56:26PM -0400, Stephen Gallagher wrote:
> We want to support building against RHEL 5.7 with openldap24-libs
>
> This will fix the nightly RHEL5 builds.
> From b811b573ab8a8ff5f29ba98b6d50ae89a35ec23a Mon Sep 17 00:00:00 2001
> From: Stephen Gallagher <sgallagh at redhat.com>
> Date: Thu, 5 May 2011 14:20:55 -0400
> Subject: [PATCH] Add support for building against openldap24-libs on RHEL 5.7
>
> ---
> configure.ac | 4 +++-
> contrib/sssd.spec.in | 4 ++++
> 2 files changed, 7 insertions(+), 1 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index ba1c03bdd1c4590e20d4469897db0d203b5e2198..2f784f750687cc91cd8e172af6b3022e6ddd370f 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -17,7 +17,9 @@ AC_INIT([sssd],
> VERSION_NUMBER,
> [sssd-devel at lists.fedorahosted.org])
>
> -CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE"
> +# We want to support building against RHEL 5.7 with openldap24-libs
> +CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I /usr/include/openldap24"
> +LDFLAGS="$LDFLAGS -L$libdir/openldap24"
NACK, this should better be done in ldap.m4
bye,
Sumit
More information about the sssd-devel
mailing list