diff options
author | David Reid <dreid@apache.org> | 2001-11-10 01:12:52 +0000 |
---|---|---|
committer | David Reid <dreid@apache.org> | 2001-11-10 01:12:52 +0000 |
commit | 3a2218c0bb7fbc5cee8184635d50ef32b3df08f5 (patch) | |
tree | a80c3af58165f323c1c9fd47f4eb5eda1cb48b30 /test/testdso.c | |
parent | 557e841091d16ccbc046b02ed9358607b991cad7 (diff) | |
download | apr-3a2218c0bb7fbc5cee8184635d50ef32b3df08f5.tar.gz |
Most platforms use gnu libtool which puts the .so into .libs/ so we
should look there to complete the test.
However, BeOS uses a version of libtool that puts the .so into the
directory, so we adjust accordingly.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62494 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/testdso.c')
-rw-r--r-- | test/testdso.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/testdso.c b/test/testdso.c index 06f6d4a97..80644ca63 100644 --- a/test/testdso.c +++ b/test/testdso.c @@ -12,7 +12,11 @@ #ifdef NETWARE #define LIB_NAME "mod_test.nlm" #else -#define LIB_NAME "mod_test.so" + #ifndef BEOS + #define LIB_NAME ".libs/mod_test.so" + #else + #define LIB_NAME "mod_test.so" + #endif #endif int main (int argc, char ** argv) |