|
From: | Mathias Bauer |
Subject: | Detection of main bundle path in NSBundle |
Date: | Thu, 10 Apr 2014 11:31:37 +0200 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 |
Hi,the NSBundle implementation detects the main bundle path by evaluating the environment variables LIBRARY_COMBO, GNUSTEP_HOST_CPU and GNUSTEP_HOST_OS.
IMHO the GNUSTEP_HOST would be even better, at the end it is what also the compiler uses to detect the target platform to build for.
Any objections against checking for GNUSTEP_HOST in NSBundle also? Regards, Mathias
[Prev in Thread] | Current Thread | [Next in Thread] |