On Friday, 27 August 2021 at 14:52:15 UTC, Mike Parker wrote:
On Friday, 27 August 2021 at 14:46:56 UTC, Ki Rill wrote:
On Friday, 27 August 2021 at 13:54:18 UTC, Steven Schveighoffer wrote:
[...]

How do I tell DUB where to look for `raylibdll.lib` and `raylib.dll`? Via `lflags` section? What if I put them in a different folder instead of the project's directory?

Yes. The path goes in the lflags directive using whatever the linker-specific flag is. I assume for lld it's `-Lpath`. For MS link it's `/LIBPATH:path`.

I've added lfags:
```
"lflags": ["/LIBPATH:C:\\Users\\Username\\Desktop\\test\\source\\"]
```

But now it cannot find the following:
```
msvcrt120.lib
OLDNAMES.lib
shell32.lib
```

I think `lfags` overrides the default search path and I need to add it manually as well. But what is that path on Windows?

Reply via email to