diff options
author | elliott_c <elliott_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2007-01-03 13:18:50 +0000 |
---|---|---|
committer | elliott_c <elliott_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2007-01-03 13:18:50 +0000 |
commit | 22a7aed924e63170198e68475ba1b53660e9352a (patch) | |
tree | d58b44478e9123295b11c3f4dee13a3f4dfa1b3b /ACE/tests | |
parent | 04a01c9b7165bfe5bea33ec5363eb716fe87d668 (diff) | |
download | ATCD-22a7aed924e63170198e68475ba1b53660e9352a.tar.gz |
ChangeLogTag: Wed Jan 3 13:16:16 UTC 2007 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'ACE/tests')
-rw-r--r-- | ACE/tests/Unload_libACE.cpp | 10 | ||||
-rw-r--r-- | ACE/tests/tests.mpc | 2 | ||||
-rw-r--r-- | ACE/tests/unload_libace.mpb | 6 |
3 files changed, 15 insertions, 3 deletions
diff --git a/ACE/tests/Unload_libACE.cpp b/ACE/tests/Unload_libACE.cpp index f18484b6b82..8d30c021f08 100644 --- a/ACE/tests/Unload_libACE.cpp +++ b/ACE/tests/Unload_libACE.cpp @@ -150,10 +150,16 @@ main (int, char **) char buf[BUFSIZ]; strcpy (buf, ace_root); + strcat (buf, "/lib/lib"); +#if defined (ACE_LIB_NAME) + strcat (buf, ACE_LIB_NAME); +#else + strcat (buf, "ACE"); +#endif /* ACE_LIB_NAME */ #if defined (__hpux) && !(defined (__ia64) && (__ia64 == 1)) - strcat (buf, "/lib/libACE.sl"); + strcat (buf, ".sl"); #else - strcat (buf, "/lib/libACE.so"); + strcat (buf, ".so"); #endif /* (__hpux) */ handle = dlopen (buf, RTLD_LAZY); diff --git a/ACE/tests/tests.mpc b/ACE/tests/tests.mpc index 854ea60ce0c..4b6a8b01990 100644 --- a/ACE/tests/tests.mpc +++ b/ACE/tests/tests.mpc @@ -1367,7 +1367,7 @@ project(Based Pointer Test) : acetest { } } -project(Library Unload) { +project(Library Unload): unload_libace { avoids += wince exename = UnloadLibACE staticflags += ACE_AS_STATIC_LIBS diff --git a/ACE/tests/unload_libace.mpb b/ACE/tests/unload_libace.mpb new file mode 100644 index 00000000000..7fe13bae305 --- /dev/null +++ b/ACE/tests/unload_libace.mpb @@ -0,0 +1,6 @@ +// -*- MPC -*- +// $Id$ + +feature(ace_for_tao) { + macros += ACE_LIB_NAME=\\"ACE_FOR_TAO\\" +}
\ No newline at end of file |