diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-07-25 10:32:01 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-07-25 10:32:39 +0100 |
commit | 4f1e5b34211a714baad8a05ab38f3f953ebd4cce (patch) | |
tree | 10183e7dbbf910fde82991995374bf88e75c54de /sal | |
parent | edbc53ea3ca444e956e785cc9672a7a1884ea731 (diff) |
weak symbols don't link on macosx
Change-Id: If4e8adfb4199863cd2f6d8d8a419762fcbaa6599
Diffstat (limited to 'sal')
-rw-r--r-- | sal/osl/unx/util.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sal/osl/unx/util.c b/sal/osl/unx/util.c index b344f2b9c520..eca61a86175f 100644 --- a/sal/osl/unx/util.c +++ b/sal/osl/unx/util.c @@ -349,7 +349,8 @@ void osl_interlockedCountCheckForSingleCPU(void) #endif /* defined(_SC_NPROCESSORS_CONF) */ #endif -#if defined(__GNUC__) +//might be useful on other platforms, but doesn't compiler under MACOSX anyway +#if defined(__GNUC__) && defined(LINUX) //force the __data_start symbol to exist in any executables that link against //libuno_sal so that dlopening of the libgcj provided libjvm.so on some //platforms where it needs that symbol will succeed. e.g. Debian mips/lenny |