AOMediaCodec / libavif

libavif - Library for encoding and decoding .avif files
Other
1.44k stars 188 forks source link

How to build a dynamic library that statically links all dependencies? #2040

Open normalllll opened 4 months ago

normalllll commented 4 months ago

BUILD_SHARED_LIBS=ON aom and other dependencies require libaom.dll When BUILD_SHARED_LIBS=OFF, only libavif.a can be generated How to build a libavif.dll or libavif.so that statically links all dependencies

vrabaud commented 4 months ago

This will be fixed when https://github.com/AOMediaCodec/libavif/pull/1744 is in