On Friday, 3 January 2014 at 15:01:16 UTC, Mineko wrote:
So, I can get a shared library compiled normally (Assuming it's
already compiled first with -shared -fPIC etc) with: dmd
-of'Breaker Engine.so' 'Breaker Engine.o' -shared
-defaultlib=libphobos2.so -L-rpath=$PWD
However, for some reason dub is having issues whenever I try to
compile it as a shared library with dynamicLibrary.
Any suggestions? I'd like to get this fixed because otherwise
there's gonna be portability problems..
Could you provide some error message / output, and your
package.json ?