Hi,

I have a build.jl file that worked correctly on Linux but I am having
trouble to get it to work on OSX. These are the three ways I tested it:

1. If my build process puts a .dylib instead of an .so at deps/usr/lib,
BinDeps complains that the .so does not exist and the build process fails.

2. If I rename mylib.dylib to mylib.so, building the package also fails
because dlopen_e fails.

3. If I add a symbolic link between mylib.dylib and mylib.so, it works!
This is the patched build.jl file:
https://gist.github.com/jfsantos/73bbfcfd81a0d83aec11

I tried reading the code for BinDeps but could not find anything related to
dynamic library file extensions. Do I need specifically to say that the OS
is :Darwin instead of :Unix if I want it to work with OSX?

Thanks!

--
João Felipe Santos

Reply via email to