Compiling Ruby for iOS: Undefined Symbol _RUBY_DTRACE_*

Hi ruby-talk!

I am currently trying to cross compile Ruby 2.0.0p247 for iOS.

But I am running against a wall. While linking, ld reports a bunch of
undefined symbols. all start with _RUBY_DTRACE, and half of them ends
in _ENABLED.

I have looked through the sources and indeed, there are many calls to
such functions while I was not able to find a place they were defined.

I have tried disabling dtrace while ./configure-ing, but that didn’t
change the situation.

I believe the issue is that dtrace is available on my compilation
machine (OSX) whilst not being available on iOS, but I am not quite
sure.

Any suggestions?

Sincerely,
Lukas