[PATCH] Adding support for private frameworks
Let’s just say I needed it. --- objc.m | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/objc.m b/objc.m index e8c5cd9..7e0886d 100644 --- a/objc.m +++ b/objc.m @@ -1890,6 +1890,10 @@ rb_require_framework(VALUE recv, VALUE framework) snprintf(path, sizeof path, "/Library/Frameworks/%s.framework", cstr); TRY_LOAD_PATH(); + + snprintf(path, sizeof path, + "/System/Library/PrivateFrameworks/%s.framework", cstr); + TRY_LOAD_PATH(); #undef TRY_LOAD_PATH -- 1.5.4.2
Thanks Ben, merged as r23. Laurent On Feb 28, 2008, at 8:55 AM, Benjamin Stiglitz wrote:
Let’s just say I needed it.
--- objc.m | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/objc.m b/objc.m index e8c5cd9..7e0886d 100644 --- a/objc.m +++ b/objc.m @@ -1890,6 +1890,10 @@ rb_require_framework(VALUE recv, VALUE framework)
snprintf(path, sizeof path, "/Library/Frameworks/%s.framework", cstr); TRY_LOAD_PATH(); + + snprintf(path, sizeof path, + "/System/Library/PrivateFrameworks/%s.framework", cstr); + TRY_LOAD_PATH();
#undef TRY_LOAD_PATH
-- 1.5.4.2
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
participants (2)
-
Benjamin Stiglitz
-
Laurent Sansonetti