[MacRuby-devel] [PATCH] Adding support for private frameworks

Laurent Sansonetti lsansonetti at apple.com
Thu Feb 28 10:23:41 PST 2008


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 at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel



More information about the MacRuby-devel mailing list