diff options
author | Rich Megginson <rmeggins@redhat.com> | 2010-02-25 08:46:32 -0700 |
---|---|---|
committer | Rich Megginson <rmeggins@redhat.com> | 2010-02-25 10:14:48 -0700 |
commit | 2cc5ac4e6de01c75d3b974146fde7f41a77b0268 (patch) | |
tree | 5fdc15421e9014bf845ca85cad20efd77080fd58 /configure.ac | |
parent | 1ce1a045b77d2726ab1cb52a3e5ad943976d0fa8 (diff) | |
download | ds-2cc5ac4e6de01c75d3b974146fde7f41a77b0268.tar.gz ds-2cc5ac4e6de01c75d3b974146fde7f41a77b0268.tar.xz ds-2cc5ac4e6de01c75d3b974146fde7f41a77b0268.zip |
problems linking with -z defs
https://bugzilla.redhat.com/show_bug.cgi?id=506206
Resolves: bug 506206
Bug Description: problems linking with -z defs
Reviewed by: nhosoi (Thanks!)
Branch: HEAD
Fix Description: Some platforms (debian) and some build checking tools
(rpmlint, others) link with -z defs to look for any undefined references at
link time. We had several of these in various directory server objects.
1) all of the plugins need to link against libslapd.la
2) most of the plugins need to link against ldapcsdk and nspr
3) the pwdstorage plugin needs to link against LIBCRYPT, which is platform
dependent
4) various other link fixes
Platforms tested: RHEL5 x86_64
Flag Day: yes - autotool file changes
Doc impact: no
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index f8ec7299..6bf9f8aa 100644 --- a/configure.ac +++ b/configure.ac @@ -350,6 +350,8 @@ case $host in # some programs use the native thread library directly THREADLIB=-lpthread AC_SUBST([THREADLIB], [$THREADLIB]) + LIBCRYPT=-lcrypt + AC_SUBST([LIBCRYPT], [$LIBCRYPT]) ;; ia64-hp-hpux*) AC_DEFINE([XP_UNIX], [1], [UNIX]) |