summaryrefslogtreecommitdiff
path: root/source3/wscript_build
diff options
context:
space:
mode:
authorC. Davis <cd.rattan@gmail.com>2012-07-10 06:16:35 -0700
committerMichael Adam <obnox@samba.org>2013-04-29 13:05:44 +0200
commitdc0029c9463612d9fce6e19f04cf5d9aeed1b2d6 (patch)
treea4af2727d419d34e3f0856e6d068080bc4d06222 /source3/wscript_build
parent6c881e285b4a130bddd15f7d740e4c64a33e0de3 (diff)
downloadsamba-dc0029c9463612d9fce6e19f04cf5d9aeed1b2d6.tar.gz
samba-dc0029c9463612d9fce6e19f04cf5d9aeed1b2d6.tar.bz2
samba-dc0029c9463612d9fce6e19f04cf5d9aeed1b2d6.zip
regedit: First crack at linking to ncurses.
First attempt of editing build scripts to link to ncurses libraries. It seems to work, though checks may need to be expanded upon. Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/wscript_build')
-rwxr-xr-xsource3/wscript_build4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/wscript_build b/source3/wscript_build
index 269b29aec7..61acb377e0 100755
--- a/source3/wscript_build
+++ b/source3/wscript_build
@@ -1643,7 +1643,9 @@ bld.SAMBA3_PYTHON('pylibsmb',
bld.SAMBA3_BINARY('regedit',
source='utils/regedit.c utils/regedit_samba3.c utils/regedit_wrap.c',
- deps='registry param popt_samba3 smbregistry')
+ deps='ncurses menu registry param popt_samba3 smbregistry',
+ enabled=bld.env.build_regedit,
+ vars=locals())
swat_dir = os.path.join(bld.curdir, '../swat')
swat_files = recursive_dirlist(swat_dir, swat_dir, '*')