diff options
Diffstat (limited to 'lib/talloc')
-rw-r--r-- | lib/talloc/wscript | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/lib/talloc/wscript b/lib/talloc/wscript index 879b37595a..bcbb844a97 100644 --- a/lib/talloc/wscript +++ b/lib/talloc/wscript @@ -10,16 +10,10 @@ def configure(conf): def build(bld): bld.recurse('../replace') - bld( - features = 'cc cshlib', - source = 'talloc.c', - target='talloc', - includes = '. ../replace') + bld.SAMBA_LIBRARY('talloc', + 'talloc.c', + 'replace') - # test program - bld( - features = 'cc cprogram', - source = 'testsuite.c testsuite_main.c', - target = 'talloc_testsuite', - uselib_local = 'replace talloc', - includes = '. ../replace default /usr/include') + bld.SAMBA_BINARY('talloc_testsuite', + 'testsuite.c testsuite_main.c', + 'talloc') |