Open MrcSnm opened 1 year ago
The flag /WHOLEARCHIVE:util.lib for example is not found when using LDC's --link-internally. It expects the full path to the library. This behavior does not happen when using MSVC Linker.
/WHOLEARCHIVE:util.lib
--link-internally
This is the reference issue: https://github.com/ldc-developers/ldc/issues/4445 test_shared_35.zip Try adding the dflag to the main dub.json --link-internally .
It should be able to find the library files without passing the absolute path.
Unfortunately I strongly suspect that only solution to this set of problems is: https://github.com/dlang/dub/issues/2633
System information
Bug Description
The flag
/WHOLEARCHIVE:util.lib
for example is not found when using LDC's--link-internally
. It expects the full path to the library. This behavior does not happen when using MSVC Linker.How to reproduce?
This is the reference issue: https://github.com/ldc-developers/ldc/issues/4445 test_shared_35.zip Try adding the dflag to the main dub.json
--link-internally
.Expected Behavior
It should be able to find the library files without passing the absolute path.
Logs