summaryrefslogtreecommitdiff
path: root/source3/build/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'source3/build/wscript')
-rw-r--r--source3/build/wscript3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/build/wscript b/source3/build/wscript
index 2cbcbe6de1..3b0c66a9f4 100644
--- a/source3/build/wscript
+++ b/source3/build/wscript
@@ -45,7 +45,8 @@ def build(bld):
cflags=cflags)
bld.SAMBA_SUBSYSTEM('LOCALE_DIR',
'../localedir.c',
- cflags=cflags)
+ cflags='-DLOCALEDIR=\"%s\"' % bld.env.LOCALEDIR)
+
def dynconfig_cflags(bld):
'''work out the extra CFLAGS for dynconfig.c'''