diff options
author | Andreas Tobler <a.tobler@schweiz.ch> | 2003-03-22 11:56:44 +0100 |
---|---|---|
committer | Andreas Tobler <andreast@gcc.gnu.org> | 2003-03-22 11:56:44 +0100 |
commit | dcde977582f92d6e8e6b0df8862504be064dd3ec (patch) | |
tree | b9a04df1d7a0782cf89f3f131203512dc59da116 /libjava/include/posix.h | |
parent | fb80b07d22c010b3d8a545922145f1ad4179b482 (diff) | |
download | gcc-dcde977582f92d6e8e6b0df8862504be064dd3ec.zip gcc-dcde977582f92d6e8e6b0df8862504be064dd3ec.tar.gz gcc-dcde977582f92d6e8e6b0df8862504be064dd3ec.tar.bz2 |
posix.h: Add suffix for darwin dynamic libraries.
2003-03-22 Andreas Tobler <a.tobler@schweiz.ch>
* include/posix.h: Add suffix for darwin dynamic libraries.
From-SVN: r64705
Diffstat (limited to 'libjava/include/posix.h')
-rw-r--r-- | libjava/include/posix.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libjava/include/posix.h b/libjava/include/posix.h index bbec6d1..ad93753 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) '/') |