You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When it gets built on linux using zig build everything gets compiled into lib directory.
When it gets built on windows using the same zig build test.dll and test.pdb get compiled into current working directory. At the same time test.lib is inside of lib directory
Expected Behavior
test.dll and test.pdb should be in the same directory with test.lib
The text was updated successfully, but these errors were encountered:
Not a bug. Windows DLLs being installed to <prefix>/bin/ and not <prefix>/lib/ is intentional, see #19743 for details.
To override the PDB, header and DLL import library install dirs you need to set the .pdb_dir, .h_dir and .implib_dir options respectively in the options struct you pass to b.addInstsllArtifact.
Zig Version
0.13.0
Steps to Reproduce and Observed Behavior
I’ve made a really small build system for the library:
When it gets built on linux using
zig build
everything gets compiled into lib directory.When it gets built on windows using the same
zig build
test.dll and test.pdb get compiled into current working directory. At the same time test.lib is inside of lib directoryExpected Behavior
test.dll and test.pdb should be in the same directory with test.lib
The text was updated successfully, but these errors were encountered: