From bb39af721f94c2cb70ffbe80d1e173f596525561 Mon Sep 17 00:00:00 2001 From: andreast Date: Sat, 22 Mar 2003 10:56:44 +0000 Subject: [PATCH] 2003-03-22 Andreas Tobler * include/posix.h: Add suffix for darwin dynamic libraries. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64705 138bc75d-0d04-0410-961f-82ee72b054a4 --- libjava/ChangeLog | 4 ++++ libjava/include/posix.h | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/libjava/ChangeLog b/libjava/ChangeLog index aa39a61822b..3ce4f20b351 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,7 @@ +2003-03-22 Andreas Tobler + + * include/posix.h: Add suffix for darwin dynamic libraries. + 2003-03-21 Michael Koch * javax/swing/Action.java diff --git a/libjava/include/posix.h b/libjava/include/posix.h index bbec6d1737f..ad937536a8e 100644 --- a/libjava/include/posix.h +++ b/libjava/include/posix.h @@ -42,7 +42,11 @@ details. */ // Prefix and suffix for shared libraries. #define _Jv_platform_solib_prefix "lib" +#if defined(__APPLE__) && defined(__MACH__) && defined(__ppc__) +#define _Jv_platform_solib_suffix ".dylib" +#else #define _Jv_platform_solib_suffix ".so" +#endif // Separator for file name components. #define _Jv_platform_file_separator ((jchar) '/') -- 2.11.4.GIT