diff options
author | Günther Deschner <gd@samba.org> | 2010-09-19 22:35:26 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-09-20 10:48:24 -0700 |
commit | c9e17edfc6f9dc7f3ae251102dbb7bfcf08a770d (patch) | |
tree | 5d0a522eaad1f50e8c6fdb3d0c4e42d64dad216d /source3/build | |
parent | 99d898938c7d656d852e4c91f7534e2cba99c5f8 (diff) | |
download | samba-c9e17edfc6f9dc7f3ae251102dbb7bfcf08a770d.tar.gz samba-c9e17edfc6f9dc7f3ae251102dbb7bfcf08a770d.tar.bz2 samba-c9e17edfc6f9dc7f3ae251102dbb7bfcf08a770d.zip |
s3-waf: add net.
Guenther
Diffstat (limited to 'source3/build')
-rw-r--r-- | source3/build/dynconfig.py | 4 | ||||
-rw-r--r-- | source3/build/wscript | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/source3/build/dynconfig.py b/source3/build/dynconfig.py index 65798a35ec..7382516e3e 100644 --- a/source3/build/dynconfig.py +++ b/source3/build/dynconfig.py @@ -10,7 +10,8 @@ dir_options = { 'with-lockdir' : [ '${PREFIX}/var/locks', 'where to put lock files' ], 'with-codepagedir' : [ '${PREFIX}/lib/samba', 'where to put codepages' ], 'with-privatedir' : [ '${PREFIX}/private', 'where to put smbpasswd' ], - 'with-cachedir' : [ '${PREFIX}/var/locks', 'where to put temporary cache files' ] + 'with-cachedir' : [ '${PREFIX}/var/locks', 'where to put temporary cache files' ], + 'with-localedir' : [ '${PREFIX}/share/locale', 'Where to put po files' ] } # list of cflags to use for dynconfig.c @@ -37,6 +38,7 @@ dyn_cflags = { 'NTP_SIGND_SOCKET_DIR' : '${NTP_SIGND_SOCKET_DIR}', 'CODEPAGEDIR' : '${CODEPAGEDIR}', 'CACHEDIR' : '${CACHEDIR}', + 'LOCALEDIR' : '${LOCALEDIR}', 'SMB_PASSWD_FILE' : '${PRIVATEDIR}/smbpasswd', } diff --git a/source3/build/wscript b/source3/build/wscript index f27e279d6b..2cbcbe6de1 100644 --- a/source3/build/wscript +++ b/source3/build/wscript @@ -43,6 +43,9 @@ def build(bld): '../dynconfig.c', deps='replace talloc tdb popt', cflags=cflags) + bld.SAMBA_SUBSYSTEM('LOCALE_DIR', + '../localedir.c', + cflags=cflags) def dynconfig_cflags(bld): '''work out the extra CFLAGS for dynconfig.c''' |