ZLS doesn't forward extra flags from the build script to zig translate-c
when processing a cImport
#2110
Labels
bug
Something isn't working
Zig Version
0.13.0
ZLS Version
0.13.0
Client / Code Editor / Extensions
nvim 0.10.2
Steps to Reproduce and Observed Behavior
Install ImageMagick onto your machine and open ZLS in a file like this:
ZLS reports an error on line 1:
you should set MAGICKCORE_HDRI_ENABLE
Relevant code in ImageMagick (link):
This is a very specific scenario. I don't know what a minimal reproduction example would look like.
Expected Behavior
ZLS should have defined
MAGICKCORE_HDRI_ENABLE
and other macros from pkg-config.Relevant Discord thread: https://discord.com/channels/997174129532866701/997174130048770080/1317898503372148756
Relevant log output
No response
The text was updated successfully, but these errors were encountered: