Presumably you want to link the lib
into your test/example program. Following the ffmpeg
example from here, that would mean:
lib
would only include the C files, so.root_source_file = null,
(or omit theroot_source_file
field)- You’d want to call
module.linkLibrary(lib)
The rest I think can remain the same, but am not fully sure about that.