waf: Do not install _ldb_text.py if we have system libldb
commite1b217ccd0fe1d52fc5f96c99a0033c913797f80
authorAndreas Schneider <asn@samba.org>
Thu, 6 Jul 2017 05:44:28 +0000 (6 07:44 +0200)
committerStefan Metzmacher <metze@samba.org>
Thu, 13 Jul 2017 05:41:23 +0000 (13 07:41 +0200)
tree66704201bf41d3c3d7e3cffc32e50c750fb8df68
parent3d9dddbbc5bab2958a041c496ae0d08a8e370c07
waf: Do not install _ldb_text.py if we have system libldb

_ldb_text.py is installed as part of the ldb package and also if you
compile Samba with the system ldb version. This way we have have the
file twice in the same location and run into file confilcts.

This has already been fixed some time ago:
    60dc26bfe1573265dcbd87b9dd3439f945e57d97

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12882

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
(cherry picked from commit 98e30cf491c63eb0b69c13ad42b720d22944adda)
lib/ldb/wscript