summaryrefslogtreecommitdiff
path: root/ACE/tests/Unload_libACE.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/tests/Unload_libACE.cpp')
-rw-r--r--ACE/tests/Unload_libACE.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/ACE/tests/Unload_libACE.cpp b/ACE/tests/Unload_libACE.cpp
index 8d30c021f08..f18484b6b82 100644
--- a/ACE/tests/Unload_libACE.cpp
+++ b/ACE/tests/Unload_libACE.cpp
@@ -150,16 +150,10 @@ 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, ".sl");
+ strcat (buf, "/lib/libACE.sl");
#else
- strcat (buf, ".so");
+ strcat (buf, "/lib/libACE.so");
#endif /* (__hpux) */
handle = dlopen (buf, RTLD_LAZY);