diff options
author | Aaron Bockover <abockover@novell.com> | 2010-01-27 23:31:57 +0300 |
---|---|---|
committer | Aaron Bockover <abockover@novell.com> | 2010-01-27 23:32:47 +0300 |
commit | a335faaa25306b9e40fe19215ba5efb563080679 (patch) | |
tree | 993b9570e72e5a7e1ee6d971dd770d895ed43e66 /packages | |
parent | 12f6b73b95d3e75b792ca5cff4d36af6225ff2b9 (diff) |
[bundle] do not use realpath when finding root
This is known to cause problems on 10.5 I think...
Diffstat (limited to 'packages')
-rw-r--r-- | packages/patches/mono-runtime-relocation.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/patches/mono-runtime-relocation.patch b/packages/patches/mono-runtime-relocation.patch index 61f7a6e..31f5ae2 100644 --- a/packages/patches/mono-runtime-relocation.patch +++ b/packages/patches/mono-runtime-relocation.patch @@ -5,8 +5,8 @@ Subject: [PATCH] Support Mono runtime relocation on OS X assembly.c (mono_set_rootdir): support finding the Mono paths on OS X at runtime in the same way as on Windows, which yields a relocatable -Mono. Uses dyld's _NSGetExecutablePath and realpath to resolve the path -of the running mono process. +Mono. Uses dyld's _NSGetExecutablePath to resolve the path of the +running mono process. On TARGET_ARM, fallback () will always be executed. --- @@ -52,7 +52,7 @@ index 1e7f733..ce37e8e 100644 + + name = NULL; + if (_NSGetExecutablePath (buf, &buf_size) == 0) { -+ name = realpath (buf, NULL); ++ name = buf; + } + + if (name == NULL) { |