I’m compiling a C file into an executable, but it expects another C file to already be compiled and installed on the system as an object file (.o
), i.e. that executable literally looks in the provided path and fails if it doesn’t find the object file there. Otherwise, I could have just added the object file to the executable with exe.addObject
.
But, I can’t find a way to install an object file after I compile it with b.addObject
. Can it be expressed in build.zig
?