summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNalin Dahyabhai <nalin@redhat.com>2010-12-22 15:07:15 -0500
committerNalin Dahyabhai <nalin@redhat.com>2010-12-22 15:07:15 -0500
commit86cad36ed2afc7bd640025015d172dfd3bac1946 (patch)
tree107208c15532670f35b66c9a8d5eeeb755a3a7c0 /src
parent9857ad8eb47677f831b5477d3242aad4a1bb8fe7 (diff)
downloadslapi-nis-86cad36ed2afc7bd640025015d172dfd3bac1946.tar.gz
slapi-nis-86cad36ed2afc7bd640025015d172dfd3bac1946.tar.xz
slapi-nis-86cad36ed2afc7bd640025015d172dfd3bac1946.zip
- compile and link also using LDAP_CFLAGS and LDAP_LIBS
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 4797259..908e6d5 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,4 +1,4 @@
-AM_CFLAGS = $(RUNTIME_CFLAGS) $(TIRPC_CFLAGS) $(RPC_CFLAGS)
+AM_CFLAGS = $(LDAP_CFLAGS) $(RUNTIME_CFLAGS) $(TIRPC_CFLAGS) $(RPC_CFLAGS)
AM_LDFLAGS = -module -avoid-version -export-symbols-regex '.*_plugin_init'
LIBPTHREAD = @LIBPTHREAD@
LIBWRAP = @LIBWRAP@
@@ -21,7 +21,7 @@ nisserver_plugin_defs_SOURCES = defs-nis.c
noinst_PROGRAMS = portmap
portmap_CFLAGS = $(AM_CFLAGS) -DPORTMAP_MAIN
portmap_SOURCES = portmap.c
-portmap_LDFLAGS = $(RUNTIME_LIBS) $(TIRPC_LIBS) $(LIBWRAP) $(RPC_LIBS) $(LIBPTHREAD)
+portmap_LDFLAGS = $(LDAP_LIBS) $(RUNTIME_LIBS) $(TIRPC_LIBS) $(LIBWRAP) $(RPC_LIBS) $(LIBPTHREAD)
nisserver_plugin_la_SOURCES = \
back-nis.c \
@@ -44,7 +44,7 @@ nisserver_plugin_la_SOURCES = \
portmap.h \
wrap.c \
wrap.h
-nisserver_plugin_la_LIBADD = $(RUNTIME_LIBS) $(TIRPC_LIBS) $(LIBWRAP) $(RPC_LIBS) $(LIBPTHREAD)
+nisserver_plugin_la_LIBADD = $(LDAP_LIBS) $(RUNTIME_LIBS) $(TIRPC_LIBS) $(LIBWRAP) $(RPC_LIBS) $(LIBPTHREAD)
schemacompat_plugin_la_SOURCES = \
back-sch.c \
@@ -59,7 +59,7 @@ schemacompat_plugin_la_SOURCES = \
plugin.h \
wrap.c \
wrap.h
-schemacompat_plugin_la_LIBADD = $(RUNTIME_LIBS) $(LIBPTHREAD)
+schemacompat_plugin_la_LIBADD = $(LDAP_LIBS) $(RUNTIME_LIBS) $(LIBPTHREAD)
noinst_LTLIBRARIES = dummy-nis-plugin.la
dummy_nis_plugin_la_SOURCES = \
@@ -73,4 +73,4 @@ dummy_nis_plugin_la_SOURCES = \
plugin.h \
portmap.c \
portmap.h
-dummy_nis_plugin_la_LIBADD = $(RUNTIME_LIBS) -lnsl -lpthread
+dummy_nis_plugin_la_LIBADD = $(LDAP_LIBS) $(RUNTIME_LIBS) -lnsl -lpthread