summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Kinder <nkinder@redhat.com>2007-02-22 19:29:47 +0000
committerNathan Kinder <nkinder@redhat.com>2007-02-22 19:29:47 +0000
commit701146551b71f8bf920c16c5fb2173138c74f9bd (patch)
treeed6f4cf5b3922371f722316e5b74e10711daf085
parent4e73e76b8d964ff950bd3c1d105714a18bfd8383 (diff)
downloadds-701146551b71f8bf920c16c5fb2173138c74f9bd.tar.gz
ds-701146551b71f8bf920c16c5fb2173138c74f9bd.tar.xz
ds-701146551b71f8bf920c16c5fb2173138c74f9bd.zip
Resolves: 229428
Summary: Fixed issue with specifying linker to use for ns-slapd.
-rw-r--r--Makefile.am2
-rw-r--r--Makefile.in1
2 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 5d74aa18..168d1a42 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -914,6 +914,8 @@ ns_slapd_LDADD = libslapd.la libldaputil.a $(LDAPSDK_LINK) $(NSS_LINK) \
# some C++ shared libraries (such as icu).
if HPUX
ns_slapd_LINK = $(CXXLINK)
+else
+ns_slapd_LINK = $(LINK)
endif
#------------------------
diff --git a/Makefile.in b/Makefile.in
index ec15572e..41fc3c5f 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -1778,6 +1778,7 @@ ns_slapd_CPPFLAGS = $(AM_CPPFLAGS) @sasl_inc@ @ldapsdk_inc@ @nss_inc@ \
ns_slapd_LDADD = libslapd.la libldaputil.a $(LDAPSDK_LINK) $(NSS_LINK) \
$(NSPR_LINK) $(SASL_LINK) $(SVRCORE_LINK) $(LIBNSL) $(LIBSOCKET)
+@HPUX_FALSE@ns_slapd_LINK = $(LINK)
# We need to link ns-slapd with the C++ compiler on HP-UX since we load
# some C++ shared libraries (such as icu).
@HPUX_TRUE@ns_slapd_LINK = $(CXXLINK)