Dub shared library issue
Mathias LANG
pro.mathias.lang at gmail.com
Fri Jan 3 07:03:26 PST 2014
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 ?
More information about the Digitalmars-d-learn
mailing list