summaryrefslogtreecommitdiff
path: root/source3/build
diff options
context:
space:
mode:
Diffstat (limited to 'source3/build')
-rw-r--r--source3/build/dynconfig.py1
-rw-r--r--source3/build/wscript3
2 files changed, 1 insertions, 3 deletions
diff --git a/source3/build/dynconfig.py b/source3/build/dynconfig.py
index f243baa92d..65436b982d 100644
--- a/source3/build/dynconfig.py
+++ b/source3/build/dynconfig.py
@@ -30,6 +30,7 @@ dyn_cflags = {
'CONFIGFILE' : '${SYSCONFDIR}/smb.conf',
'DATADIR' : '${DATADIR}',
'LIBDIR' : '${LIBDIR}',
+ 'LOCALEDIR' : '${LOCALEDIR}',
'LMHOSTSFILE' : '${SYSCONFDIR}/lmhosts',
'LOCKDIR' : '${LOCALSTATEDIR}/locks',
'LOGFILEBASE' : '${LOCALSTATEDIR}',
diff --git a/source3/build/wscript b/source3/build/wscript
index 70219bc10a..d370daf899 100644
--- a/source3/build/wscript
+++ b/source3/build/wscript
@@ -45,9 +45,6 @@ def build(bld):
'../dynconfig.c',
deps='replace talloc tdb popt',
cflags=cflags)
- bld.SAMBA3_SUBSYSTEM('LOCALE_DIR',
- '../localedir.c',
- cflags='-DLOCALEDIR=\"%s\"' % bld.env.LOCALEDIR)
def dynconfig_cflags(bld):