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
The commit af01e2d copied configure-generated source files into the repo. These are incorrectly hard-coded with the settings of the host when ./configure was evaluated. Instead, all these files should be generated by build.zig at build time.
In addition to the commit listed above:
libavutil/ffversion.h
The text was updated successfully, but these errors were encountered:
I tried (and failed) to get build.zig to create the .c files inside zig-cache and then add those to the C sources. Is there a way to do this? Or should build.zig create the files where they normally reside and reference the normal paths?
For the headers I was planning on replacing them with empty files in git, and putting all the #defines in build.zig. Sound right?
More enhancements to std.build will be needed to additionally install such a generated header.
As for .c files, all of these things need to be done in a declarative manner with the build system. Perhaps std.build.LibExeObjStep needs to gain a new method similar to addCSourceFile but that accepts a WriteFileStep as a parameter.
The commit af01e2d copied configure-generated source files into the repo. These are incorrectly hard-coded with the settings of the host when ./configure was evaluated. Instead, all these files should be generated by build.zig at build time.
In addition to the commit listed above:
The text was updated successfully, but these errors were encountered: