[plt-scheme] mzc's ++ldf flag
Matthew Flatt wrote:
>> The libusb is loaded by means of foreign.ss which fails to load IOKit
>> automaticaly so I tried to link it by hand in hope it will find the
>> symbols.
>
> I think you'll need to use
>
> (ffi-lib "/System/Library/Frameworks/IOKit.framework/IOKit")
>
> to get a handle to the IOKit library, indendent of whether you build a
> stand-alone executable with `mzc --exe'.
I had that when I played in mzscheme and finally settled with that in
the exe too. Now the thing doesn't work in Windows but that's another
story. ;-)
Thanks for the reply. :-)
--
Regards,
Jakub Piotr Cłapa