On Friday, 28 October 2022 at 18:43:21 UTC, Carsten Schlote wrote:
On Friday, 28 October 2022 at 18:31:25 UTC, Steven
Schveighoffer wrote:
[...]
```
$ cat dub.json
{
"authors": [
"Carsten Schlote"
],
"copyright": "Copyright © 2022, Carsten Schlote",
"description": "A minimal D application.",
"license": "proprietary",
"name": "importc-app",
"lflags": [ "-lzstd", "zstd_binding.o" ],
"preBuildCommands": [ "gcc -g -O0 -c -o zstd_binding.o
source/zstd_binding.c"]
```
[...]
Like schveiguy said, what's your build line? dmd should pick up
the file if the import has the same name as the file.