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..

Reply via email to