talloc: Don't set is_bundled for standalone build.
authorJelmer Vernooij <jelmer@samba.org>
Mon, 31 May 2010 11:55:17 +0000 (13:55 +0200)
committerJelmer Vernooij <jelmer@samba.org>
Mon, 31 May 2010 11:57:03 +0000 (13:57 +0200)
lib/talloc/wscript

index 45886a553ebbeea2f00cf03e3897babb60d7de8e..be80b27a66220df694828973969e1e344f35a75e 100644 (file)
@@ -60,7 +60,8 @@ def build(bld):
                           abi_file='ABI/talloc-%s.sigs' % VERSION,
                           abi_match='talloc* _talloc*',
                           hide_symbols=True,
-                          vnum=VERSION, is_bundled=True, 
+                          vnum=VERSION,
+                                                 is_bundled=not bld.env.standalone_talloc, 
                                                  manpages='talloc.3')
 
         # should we also install the symlink to libtalloc1.so here?
@@ -68,7 +69,8 @@ def build(bld):
                           'compat/talloc_compat1.c',
                           deps='talloc',
                           enabled = bld.env.TALLOC_COMPAT1,
-                          vnum=VERSION, is_bundled=True)
+                          vnum=VERSION,
+                                                 is_bundled=not bld.env.standalone_talloc)
 
     if not getattr(bld.env, '_SAMBA_BUILD_', 0) == 4:
         # s4 already has the talloc testsuite builtin to smbtorture