diff options
-rw-r--r-- | source3/wscript_build | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/source3/wscript_build b/source3/wscript_build index 875b937932..d670ecb593 100644 --- a/source3/wscript_build +++ b/source3/wscript_build @@ -87,7 +87,7 @@ LIB_SRC = '''${LIBSAMBAUTIL_SRC} lib/serverid.c lib/util_transfer_file.c ${TDB_LIB_SRC} - ${VERSION_SRC} lib/debug.c lib/fault.c + lib/debug.c lib/fault.c lib/interface.c lib/pidfile.c lib/system.c lib/sendfile.c lib/recvfile.c lib/time.c lib/username.c @@ -863,7 +863,7 @@ bld.SAMBA_SUBSYSTEM('KRBCLIENT', bld.SAMBA_SUBSYSTEM('LIBS', source=LIB_SRC, - deps='LIBCRYPTO ndr security NDR_SECURITY charset NDR_MESSAGING LIBASYNC_REQ tdb-wrap samba-util CHARSET UTIL_TDB', + deps='LIBCRYPTO ndr security NDR_SECURITY charset NDR_MESSAGING LIBASYNC_REQ tdb-wrap samba-util CHARSET UTIL_TDB SAMBA_VERSION', vars=locals()) bld.SAMBA_SUBSYSTEM('LIB_NONSMBD', @@ -1027,6 +1027,10 @@ bld.SAMBA_SUBSYSTEM('PASSCHANGE', deps='LIBCLI_SAMR', vars=locals()) +bld.SAMBA_SUBSYSTEM('SAMBA_VERSION', + source=VERSION_SRC, + vars=locals()) + bld.SAMBA_SUBSYSTEM('SLCACHE', source=SLCACHE_SRC, vars=locals()) @@ -1429,7 +1433,8 @@ bld.SAMBA_BINARY('smbfilter', vars=locals()) bld.SAMBA_BINARY('versiontest', - source='lib/version_test.c ${VERSION_SRC}', + source='lib/version_test.c', + deps='SAMBA_VERSION', vars=locals()) bld.SAMBA_BINARY('wbinfo', |