summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-13 09:48:45 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-13 09:48:45 +0000
commit72213f4d8414d72006d816180a8da472c6dd0bc7 (patch)
treed5726f0759bffb03a645bc671b622b9c73ab3a3b /include
parent273fed0bb95ecb76ef3003fd7ef0f594d7547288 (diff)
downloadruby-72213f4d8414d72006d816180a8da472c6dd0bc7.tar.gz
ruby-72213f4d8414d72006d816180a8da472c6dd0bc7.tar.xz
ruby-72213f4d8414d72006d816180a8da472c6dd0bc7.zip
* configure.in (XLDFLAGS): link startup code with ObjC support.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include')
-rw-r--r--include/ruby/ruby.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/ruby/ruby.h b/include/ruby/ruby.h
index d027c5567..64d8cbe00 100644
--- a/include/ruby/ruby.h
+++ b/include/ruby/ruby.h
@@ -1289,8 +1289,7 @@ static char *dln_libs_to_be_linked[] = { EXTLIB, 0 };
#endif
#if (defined(__APPLE__) || defined(__NeXT__)) && defined(__MACH__)
-/* to link startup code with ObjC support */
-#define RUBY_GLOBAL_SETUP static void objcdummyfunction(void) {objc_msgSend();}
+#define RUBY_GLOBAL_SETUP /* use linker option to link startup code with ObjC support */
#else
#define RUBY_GLOBAL_SETUP
#endif