summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNalin Dahyabhai <nalin.dahyabhai@pobox.com>2008-06-03 14:20:49 -0400
committerNalin Dahyabhai <nalin.dahyabhai@pobox.com>2008-06-03 14:20:49 -0400
commit0f642c8d2d2c9fdae20d882943308a07c8e934f5 (patch)
tree6a4b95c8094af1806334b9a0a94c6bb9cf6667fa /src
parent56f2b05b88efaf17df70937087ca686de4e32c96 (diff)
downloadslapi-nis-0f642c8d2d2c9fdae20d882943308a07c8e934f5.tar.gz
slapi-nis-0f642c8d2d2c9fdae20d882943308a07c8e934f5.tar.xz
slapi-nis-0f642c8d2d2c9fdae20d882943308a07c8e934f5.zip
- link with libwrap if needed
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 6eb8724..77179bb 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,5 +1,6 @@
AM_CFLAGS = $(RUNTIME_CFLAGS)
AM_LDFLAGS = -module -avoid-version -export-symbols-regex nis_plugin_init
+LIBWRAP = @LIBWRAP@
plugindir = $(libdir)/dirsrv/plugins
@@ -14,7 +15,7 @@ nis_plugin_la_SOURCES = \
plugin.c \
portmap.c \
wrap.c
-nis_plugin_la_LIBADD = $(RUNTIME_LIBS) -lnsl -lpthread
+nis_plugin_la_LIBADD = $(RUNTIME_LIBS) $(LIBWRAP) -lnsl -lpthread
noinst_LTLIBRARIES = dummy-nis-plugin.la
dummy_nis_plugin_la_SOURCES = \