dub icon indicating copy to clipboard operation
dub copied to clipboard

/WHOLEARCHIVE cache paths are not found in lld

Open MrcSnm opened this issue 2 years ago • 1 comments
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

MrcSnm avatar Jul 24 '23 10:07 MrcSnm

Unfortunately I strongly suspect that only solution to this set of problems is: https://github.com/dlang/dub/issues/2633

rikkimax avatar Jul 24 '23 11:07 rikkimax