talloc-waf: the talloc1-compat lib depends on talloc
authorAndrew Tridgell <tridge@samba.org>
Tue, 13 Apr 2010 09:46:29 +0000 (19:46 +1000)
committerAndrew Tridgell <tridge@samba.org>
Tue, 13 Apr 2010 10:15:41 +0000 (20:15 +1000)
It is a library linked to another library, not a 2nd copy of talloc.c

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

lib/talloc/wscript

index 55f0e2ced656f51d5633b81afccb6fa9de90d2b9..bd47be8eaab243b09dd946379869a111f758525b 100644 (file)
@@ -60,8 +60,8 @@ def build(bld):
 
         # should we also install the symlink to libtalloc1.so here?
         bld.SAMBA_LIBRARY('talloc-compat1',
-                          'talloc.c compat/talloc_compat1.c',
-                          deps='replace',
+                          'compat/talloc_compat1.c',
+                          deps='talloc',
                           enabled = bld.env.TALLOC_COMPAT1,
                           vnum=VERSION)