diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2009-09-11 23:49:36 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2009-09-11 23:49:36 +0200 |
commit | df65fc02fb6684d86271c89a21f297fd29b8539c (patch) | |
tree | 6cf2019f41461fd9c4326e324751c4893b1d15a8 /source4/lib/ldb/ldb.mk | |
parent | 10833f641a33d340c03d01bf25551cd1d0d1ef63 (diff) | |
download | samba-df65fc02fb6684d86271c89a21f297fd29b8539c.tar.gz samba-df65fc02fb6684d86271c89a21f297fd29b8539c.tar.bz2 samba-df65fc02fb6684d86271c89a21f297fd29b8539c.zip |
ldb: Support running testsuite without installing first.
Diffstat (limited to 'source4/lib/ldb/ldb.mk')
-rw-r--r-- | source4/lib/ldb/ldb.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/ldb/ldb.mk b/source4/lib/ldb/ldb.mk index 4b73a455c9..e87db64574 100644 --- a/source4/lib/ldb/ldb.mk +++ b/source4/lib/ldb/ldb.mk @@ -74,8 +74,8 @@ install-python:: build-python mkdir -p $(DESTDIR)`$(PYTHON) -c "import distutils.sysconfig; print distutils.sysconfig.get_python_lib(1, prefix='$(prefix)')"` cp ldb.$(SHLIBEXT) $(DESTDIR)`$(PYTHON) -c "import distutils.sysconfig; print distutils.sysconfig.get_python_lib(1, prefix='$(prefix)')"` -check-python:: build-python - LD_LIBRARY_PATH=lib PYTHONPATH=.:$(ldbdir) $(PYTHON) $(ldbdir)/tests/python/api.py +check-python:: build-python lib/$(SONAME) + $(LIB_PATH_VAR)=lib PYTHONPATH=.:$(ldbdir) $(PYTHON) $(ldbdir)/tests/python/api.py clean:: rm -f ldb.$(SHLIBEXT) |