jbclements / portaudio

Racket Bindings for PortAudio
Other
9 stars 7 forks source link

Add `cs` directories #6

Open zyrolasting opened 4 years ago

zyrolasting commented 4 years ago

The shared objects in the 3m directories only work on the 3M variant of Racket. If you use the CS variant, they won't be found. I got around this using symlinks, but the libraries should be available in either case.

LiberalArtist commented 4 years ago

The right way to do this is to support cross-VM installation in the sense of (system-library-subpath #f). The hard work is already done because the bespoke C code doesn't use Racket BC's C API; however, it's a little harder than that because the distributed binaries are needlessly linked against mzdyn anyway (I think unintentionally, as a consequence of raco ctool). I have will open a draft PR soon.