summaryrefslogtreecommitdiff
path: root/source3/Makefile.in
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-03-06 10:26:29 +0100
committerKarolin Seeger <kseeger@samba.org>2008-03-06 11:15:08 +0100
commit3785b898178bda8e2aff763d462f21d105aa350d (patch)
tree8e84dd923ddc2a7d3121c32a537b509117aec4f6 /source3/Makefile.in
parentbaed6131d57c645d8c8e2649a371341fcf787afa (diff)
downloadsamba-3785b898178bda8e2aff763d462f21d105aa350d.tar.gz
samba-3785b898178bda8e2aff763d462f21d105aa350d.tar.bz2
samba-3785b898178bda8e2aff763d462f21d105aa350d.zip
Make test: set LD_LIBRARY_PATH for make test_shlibs and friends.
Michael (cherry picked from commit 21a527569bccff8e8cb6e751c9f3fce6ff598204) (This used to be commit 25a63d044e82ae3cbd9b8e350fcf4cf548236caa)
Diffstat (limited to 'source3/Makefile.in')
-rw-r--r--source3/Makefile.in9
1 files changed, 6 insertions, 3 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index 3e47b1f03f..3df7958b1a 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -2344,7 +2344,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
@@ -2352,7 +2353,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
@@ -2361,7 +2363,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