I have a project that links against libncursesw. It builds fine when I run basic zig build, but when I run zig build -fincremental I get the following error
➜ chat-client git:(prompt-improvements) zig build -fincremental
install
└─ install chat-client
└─ compile exe chat-client Debug native 1 errors
error: bad ident
note: while parsing /lib64/libncursesw.so
error: 1 compilation errors
failed command: /usr/bin/zig build-exe -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -lncursesw -ODebug -Mroot=/home/ebianchi/code/chat-client/src/main.zig -lc --cache-dir .zig-cache --global-cache-dir /home/ebianchi/.cache/zig --name chat-client --zig-lib-dir /usr/lib/zig/ -fincremental --listen=-
Build Summary: 0/3 steps succeeded (1 failed)
install transitive failure
└─ install chat-client transitive failure
└─ compile exe chat-client Debug native 1 errors
error: the following build command failed with exit code 1:
.zig-cache/o/64ac8a44c396009b0fe6095b5a37b7db/build /usr/bin/zig /usr/lib/zig /home/ebianchi/code/chat-client .zig-cache /home/ebianchi/.cache/zig --seed 0xbf9f08f4 -Z5f6e6769267f680f -fincremental
➜ chat-client git:(prompt-improvements)
Is this expected with incremental? Am I missing something? I’m on x64 linux.