From 3e690a5fc81b1aefc17c1d92dfee5c06c035fe25 Mon Sep 17 00:00:00 2001 From: Nalin Dahyabhai Date: Tue, 6 Aug 2013 11:40:22 -0400 Subject: Build using sss_nss_idmap/PAM CFLAGS, too --- src/Makefile.am | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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 -- cgit