On 13/09/11 18:15 , Alexander Hansen wrote:
[]
>> Question: why the ugly
>> -Wl,-framework,Accelerate,-dylib_file,/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib:/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
>>
>>
> while -Wl,-framework,Accelerate seems enough?
>
> It was like that when I took the package over :-) .  I'm certainly
> willing to simplify that on the next update.

That was a workaround for a bug in /usr/bin/ld in early OSX 10.5 
(2008-2009, fixed in 10.5.2 IIRC). The bug was that the linker would 
load any libblas.dylib it happened to come across, instead of the 
/System/Library/.../libBLAS.dylib it was asked to load.
The corresponding workaround for libGL.dylib can still be seen in 
hundreds of package descriptions.

-- 
Martin


------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerry® mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry® DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to