https://issues.dlang.org/show_bug.cgi?id=20244

Mike Franklin <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #3 from Mike Franklin <[email protected]> ---
That's correct.  The `--export-dynamic` option is coming from the config file. 
Therefore if you use `-preview=noXlinker` you'll need to compensate by adding
the `-Xlinker` argument to the dmd.conf file.

This dmd.conf file works for me when compiling with `-preview=noXlinker`

[Environment32]
DFLAGS=-I%@P%/../../../../../druntime/import -I%@P%/../../../../../phobos
-L-L%@P%/../../../../../phobos/generated/linux/release/32 -L-Xlinker
-L-L--export-dynamic

[Environment64]
DFLAGS=-I%@P%/../../../../../druntime/import -I%@P%/../../../../../phobos
-L-L%@P%/../../../../../phobos/generated/linux/release/64 -L-Xlinker
-L-L--export-dynamic -fPIC

--

Reply via email to