DUB fails to build a dynamic library on Linux

via Digitalmars-d digitalmars-d at puremagic.com
Sun Dec 14 07:19:10 PST 2014


You need to add `-fPIC` to your compiler flags. In dub.json:

     ...,
     "dflags": ["-fPIC"]


More information about the Digitalmars-d mailing list