Commit 34c06d1c authored by Anton Mitrofanov's avatar Anton Mitrofanov
Browse files

Strip git-hash from version in x264.pc

pkg-config doesn't like spaces in version string.
parent f9af2a0f
Pipeline #8244 passed with stages
in 13 minutes and 26 seconds
......@@ -1535,7 +1535,7 @@ includedir=$includedir
Name: x264
Description: H.264 (MPEG4 AVC) encoder library
Version: $(grep POINTVER < x264_config.h | sed -e 's/.* "//; s/".*//')
Version: $(grep POINTVER < x264_config.h | sed -e 's/.* "//; s/".*//; s/ .*//')
Libs: -L$libdir -lx264 $([ "$shared" = "yes" ] || echo $libpthread $libm $libdl)
Libs.private: $([ "$shared" = "yes" ] && echo $libpthread $libm $libdl)
Cflags: -I$includedir
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment