summaryrefslogtreecommitdiff
path: root/dynconfig/wscript
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-01-17 12:51:57 +0100
committerStefan Metzmacher <metze@samba.org>2012-01-17 17:17:55 +0100
commite9874bdf9ef79e0e8c115af14d6727e6624e4d20 (patch)
treefd1489bb984d2c769aedfe42adaceb6b0e92e5ab /dynconfig/wscript
parent1f7dbc665c56ec90b274a3e5f17c2d8fbdb7e8b1 (diff)
downloadsamba-e9874bdf9ef79e0e8c115af14d6727e6624e4d20.tar.gz
samba-e9874bdf9ef79e0e8c115af14d6727e6624e4d20.tar.bz2
samba-e9874bdf9ef79e0e8c115af14d6727e6624e4d20.zip
dynconfig: overwrite --with-privatelibdir as a Samba option
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Jan 17 17:17:56 CET 2012 on sn-devel-104
Diffstat (limited to 'dynconfig/wscript')
-rwxr-xr-xdynconfig/wscript9
1 files changed, 8 insertions, 1 deletions
diff --git a/dynconfig/wscript b/dynconfig/wscript
index 0628326043..517f76e7e7 100755
--- a/dynconfig/wscript
+++ b/dynconfig/wscript
@@ -136,6 +136,13 @@ dynconfig = {
'STD-PATH': '${DATADIR}/codepages',
'FHS-PATH': '${DATADIR}/samba/codepages',
},
+ 'PRIVATELIBDIR' : {
+ 'STD-PATH': '${LIBDIR}/private',
+ 'FHS-PATH': '${LIBDIR}/samba',
+ 'OPTION': '--with-privatelibdir',
+ 'HELPTEXT': 'Which directory to use for private Samba libraries',
+ 'OVERWRITE': True,
+ },
'MODULESDIR' : {
'STD-PATH': '${LIBDIR}',
'FHS-PATH': '${LIBDIR}/samba',
@@ -249,7 +256,7 @@ def set_options(opt):
opt.parser.formatter = SambaIndentedHelpFormatter()
opt.parser.formatter.width=Utils.get_term_cols()
- for k in ('--with-modulesdir'):
+ for k in ('--with-privatelibdir', '--with-modulesdir'):
option = opt.parser.get_option(k)
if option:
opt.parser.remove_option(k)