CLI equivalent for 'lib-dir' configuration file option
kinke
noone at nowhere.com
Mon May 20 15:58:04 UTC 2024
Hi! Yeah, there's no CLI equivalent for `lib-dirs`, which is
special. See e.g. the `libDirs` occurrences in
https://github.com/ldc-developers/ldc/blob/master/driver/linker-msvc.cpp. What you are missing in this specific case is linking `ldc_rt.builtins.lib`, which the compiler only does implicitly if found in `lib-dirs`, as for other libraries (not guaranteed to be bundled with the LDC installation) and object files.
More information about the digitalmars-d-ldc
mailing list