summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/apr.h.in2
-rw-r--r--include/apr.hnw2
-rw-r--r--include/apr.hw2
-rw-r--r--test/Makefile.in2
4 files changed, 8 insertions, 0 deletions
diff --git a/include/apr.h.in b/include/apr.h.in
index 50e688054..8a7d7c2cd 100644
--- a/include/apr.h.in
+++ b/include/apr.h.in
@@ -495,6 +495,8 @@ typedef int gid_t;
#error no decision has been made on APR_PATH_MAX for your platform
#endif
+#define APR_DSOPATH "@shlibpath_var@"
+
/** @} */
/** @} */
diff --git a/include/apr.hnw b/include/apr.hnw
index f25509d38..2b2d091e9 100644
--- a/include/apr.hnw
+++ b/include/apr.hnw
@@ -423,6 +423,8 @@ typedef int apr_wait_t;
#define APR_PATH_MAX PATH_MAX
+#define APR_DSOPATH "PATH"
+
#define APR_INT64_T_FMT "lld"
#define APR_UINT64_T_FMT "llu"
#define APR_UINT64_T_HEX_FMT "llx"
diff --git a/include/apr.hw b/include/apr.hw
index 4aeca41be..af14f4216 100644
--- a/include/apr.hw
+++ b/include/apr.hw
@@ -583,6 +583,8 @@ typedef int apr_wait_t;
#define APR_PATH_MAX MAX_PATH
#endif
+#define APR_DSOPATH "PATH"
+
/** @} */
#ifdef __cplusplus
diff --git a/test/Makefile.in b/test/Makefile.in
index b3710742c..7e6ff6e35 100644
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -159,6 +159,8 @@ tryread@EXEEXT@: $(OBJECTS_tryread)
$(LINK_PROG) $(OBJECTS_tryread) $(ALL_LIBS)
check: $(TESTALL_COMPONENTS) $(STDTEST_PORTABLE) $(STDTEST_NONPORTABLE)
+ @shlibpath_var@=../.libs:$$(@shlibpath_var@);\
+ export @shlibpath_var@
teststatus=0; \
progfailed=""; \
for prog in $(STDTEST_PORTABLE) $(STDTEST_NONPORTABLE); do \