build: improve the wscript generator
[nivanova/samba-autobuild/.git] / buildtools / mktowscript / mktowscript.pl
index 18c8779055ac66e6407d27fb0b88e3f322c9bc09..5dc4e1b9441dceec687fda525ab618feb08625f1 100755 (executable)
@@ -34,6 +34,14 @@ sub strlist($)
        $s =~ s/\$\(param_OBJ_FILES\)/..\/pyparam.c/g;
        $s =~ s/\$\(libclisrcdir\)\///g;
 
+       # this one doesn't exist?
+       $s =~ s/LDAP_ENCODE//g;
+
+       # these need to use the library names
+       $s =~ s/LIBLDB/ldb/g;
+       $s =~ s/LIBTALLOC/talloc/g;
+       $s =~ s/LIBTEVENT/tevent/g;
+
        return trim(join(' ', split(/\s+/, $s)));
 }