allyourcodebase / ffmpeg

FFmpeg Zig package
Other
181 stars 24 forks source link

fix endian tag #9

Closed elringus closed 1 year ago

elringus commented 1 year ago

As per https://github.com/ziglang/zig/commit/3fc6fc68129219a026ae3d7dff82513758e33a21 the tags are now in lower-case.

elringus commented 1 year ago

I've considered adding a switch for compatibility with zig 0.11 (similar to https://github.com/andrewrk/nasm/blob/master/build.zig#L8), but the build script uses changed addCSourceFiles from 0.12 and won't work with 0.11 anyway.

andrewrk commented 1 year ago

That same build.zig file in nasm also demonstrates a way to deal with the addCSourceFiles change