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