summaryrefslogtreecommitdiff
path: root/source4/auth/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'source4/auth/config.mk')
-rw-r--r--source4/auth/config.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/auth/config.mk b/source4/auth/config.mk
index f13c2e5758..b825c520ed 100644
--- a/source4/auth/config.mk
+++ b/source4/auth/config.mk
@@ -27,6 +27,7 @@ PUBLIC_DEPENDENCIES = SAMDB UTIL_LDB LIBSECURITY
PRIVATE_DEPENDENCIES = LDAP_ENCODE
auth_sam_OBJ_FILES = $(addprefix $(authsrcdir)/, sam.o)
+$(auth_sam_OBJ_FILES): CFLAGS+=$(LDB_CFLAGS)
$(eval $(call proto_header_template,$(authsrcdir)/auth_sam.h,$(auth_sam_OBJ_FILES:.o=.c)))