Dub shared library issue

Mineko uminekorox at gmail.com
Fri Jan 3 07:01:15 PST 2014


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


More information about the Digitalmars-d-learn mailing list