summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-03-06 10:26:29 +0100
committerMichael Adam <obnox@samba.org>2008-03-06 10:26:37 +0100
commit26537251a3a67b3cbe01bae1b9dae05c62d669d2 (patch)
tree541b75f485249edd170f0fa814155f545c6e577d
parent05af5c367d5ed2e738811d206e916f5109e0ee01 (diff)
downloadsamba-26537251a3a67b3cbe01bae1b9dae05c62d669d2.tar.gz
samba-26537251a3a67b3cbe01bae1b9dae05c62d669d2.tar.bz2
samba-26537251a3a67b3cbe01bae1b9dae05c62d669d2.zip
Make test: set LD_LIBRARY_PATH for make test_shlibs and friends.
Michael (This used to be commit 21a527569bccff8e8cb6e751c9f3fce6ff598204)
-rw-r--r--source3/Makefile.in9
1 files changed, 6 insertions, 3 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index e2f02cb772..acd39d79b9 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -2360,7 +2360,8 @@ Makefile: $(srcdir)/Makefile.in config.status
# Check shared libs for unresolved symbols
test_shlibs: $(SHLIBS)
@echo "Testing $(SHLIBS) "
- @for module in $(SHLIBS); do \
+ @export $(LIB_PATH_VAR)=./bin && \
+ for module in $(SHLIBS); do \
./script/tests/dlopen.sh bin/$${module}.@SHLIBEXT@ \
|| exit 1; \
done
@@ -2368,7 +2369,8 @@ test_shlibs: $(SHLIBS)
# Check for NSS module problems.
test_nss_modules: nss_modules
@echo "Testing $(NSS_MODULES) "
- @for module in $(NSS_MODULES); do \
+ @export $(LIB_PATH_VAR)=./bin && \
+ for module in $(NSS_MODULES); do \
./script/tests/dlopen.sh $${module} \
|| exit 1; \
done
@@ -2377,7 +2379,8 @@ test_nss_modules: nss_modules
# built can actually be loaded by a minimal PAM-aware application.
test_pam_modules: pam_modules
@echo "Testing $(PAM_MODULES) "
- @for module in $(PAM_MODULES); do \
+ @export $(LIB_PATH_VAR)=./bin && \
+ for module in $(PAM_MODULES); do \
./script/tests/dlopen.sh -lpam -ldl bin/$${module}.@SHLIBEXT@ \
|| exit 1; \
done