lib-subunit: fixed build on systems without subunit devel library
[nivanova/samba-autobuild/.git] / lib / torture / wscript_build
index 7830b3a039bc9f11cbd0824301da2e4797616ada..a3ba60592db79f85aa564b738b67fffc6a6845c3 100644 (file)
@@ -1,11 +1,9 @@
 #!/usr/bin/env python
 
-
 bld.SAMBA_LIBRARY('torture',
-       source='torture.c subunit.c ../subunit/c/lib/child.c',
+       source='torture.c subunit.c',
        vnum='0.0.1',
        pc_files='torture.pc',
-       public_deps='LIBSAMBA-HOSTCONFIG LIBSAMBA-UTIL LIBSAMBA-ERRORS talloc tevent',
+       public_deps='LIBSAMBA-HOSTCONFIG LIBSAMBA-UTIL LIBSAMBA-ERRORS talloc tevent subunit',
        public_headers='torture.h'
        )
-