prefix=/home/third_party/prebuild/third_party/zimg/deploy
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: zimg
Description: Scaling, colorspace conversion, and dithering library
Version: 3.0.5
# If building a static library against a C++ runtime other than libstdc++,
# define STL_LIBS when running configure.
Libs: -L${libdir} -lzimg
Libs.private: -lstdc++
Cflags: -I${includedir}
But if you link static libraries, it will appear ERROR: zimg >= 2.7.0 not found using pkg-config, but link dynamic library is ok. why?
I've set export PKG_CONFIG_PATH=${zimg_pkg_dir} , I'm sure zimg_pkg_dir is the right path.
libzimg.a is now compiled, pkgconfig like this
ffmpeg shell like this
But if you link static libraries, it will appear ERROR: zimg >= 2.7.0 not found using pkg-config, but link dynamic library is ok. why? I've set export PKG_CONFIG_PATH=${zimg_pkg_dir} , I'm sure zimg_pkg_dir is the right path.