On Tue, 25 Aug 2015 20:39:16 GMT, BlackEdder wrote:

Is it possible to remove default linker flags provided by dub when building a shared library. For some reason the addition of -L-fopenmp to the linker flags causes R to crash when trying to load the library.

Edwin

Apparently the -L-fopenmp is added due to

pkg-config --libs libR

I guess that is mostly outsides dub's control.