summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNalin Dahyabhai <nalin@dahyabhai.net>2013-08-06 11:40:22 -0400
committerNalin Dahyabhai <nalin@dahyabhai.net>2013-08-07 14:46:03 -0400
commit3e690a5fc81b1aefc17c1d92dfee5c06c035fe25 (patch)
tree616e92c0b56eb5b44fd2a0a7ffbef5c70baee00a /src
parent09eca10cbc079702eb1dea0a885a26d36d1bfd7f (diff)
downloadslapi-nis-3e690a5fc81b1aefc17c1d92dfee5c06c035fe25.tar.gz
slapi-nis-3e690a5fc81b1aefc17c1d92dfee5c06c035fe25.tar.xz
slapi-nis-3e690a5fc81b1aefc17c1d92dfee5c06c035fe25.zip
Build using sss_nss_idmap/PAM CFLAGS, too
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 5bb8dde..e4fe1a9 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -49,6 +49,7 @@ nisserver_plugin_la_SOURCES = \
wrap.h
nisserver_plugin_la_LIBADD = $(LDAP_LIBS) $(RUNTIME_LIBS) $(TIRPC_LIBS) $(LIBWRAP) $(RPC_LIBS) $(LIBPTHREAD) $(CONFIGURED_LINK_FLAGS)
+schemacompat_plugin_la_CFLAGS = $(AM_CFLAGS)
schemacompat_plugin_la_SOURCES = \
back-sch.c \
back-sch.h \
@@ -66,11 +67,13 @@ schemacompat_plugin_la_SOURCES = \
schemacompat_plugin_la_LIBADD = $(LDAP_LIBS) $(RUNTIME_LIBS) $(LIBPTHREAD) $(CONFIGURED_LINK_FLAGS)
if USE_NSSWITCH
+schemacompat_plugin_la_CFLAGS += $(SSS_NSS_IDMAP_CFLAGS)
schemacompat_plugin_la_SOURCES += back-sch-nss.c
schemacompat_plugin_la_LIBADD += $(SSS_NSS_IDMAP_LIBS)
endif
if USE_PAM
+schemacompat_plugin_la_CFLAGS += $(PAM_CFLAGS)
schemacompat_plugin_la_SOURCES += back-sch-pam.c
schemacompat_plugin_la_LIBADD += $(PAM_LIBS)
endif