dub
dub copied to clipboard
/WHOLEARCHIVE cache paths are not found in lld
trafficstars
System information
- dub version:1.32.1
- OS Platform and distribution: Windows 10
- compiler version: LDC 1.33
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
Unfortunately I strongly suspect that only solution to this set of problems is: https://github.com/dlang/dub/issues/2633