dreid 01/11/09 17:12:52
Modified: test testdso.c Log: 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. Revision Changes Path 1.17 +5 -1 apr/test/testdso.c Index: testdso.c =================================================================== RCS file: /home/cvs/apr/test/testdso.c,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- testdso.c 2001/08/28 14:37:14 1.16 +++ testdso.c 2001/11/10 01:12:52 1.17 @@ -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)
