Commit 02217bd2 authored by Brad Smith's avatar Brad Smith Committed by Fiona Glaser

Fix pkg-config for dynamic vs static linking

parent e8e8b9a4
......@@ -1149,8 +1149,6 @@ echo "CLI_LIBX264 = $CLI_LIBX264" >> config.mak
${SRCPATH}/version.sh "${SRCPATH}" >> x264_config.h
pclibs="-L$libdir -lx264 $libpthread"
cat > x264.pc << EOF
prefix=$prefix
exec_prefix=$exec_prefix
......@@ -1160,7 +1158,8 @@ includedir=$includedir
Name: x264
Description: H.264 (MPEG4 AVC) encoder library
Version: $(grep POINTVER < x264_config.h | sed -e 's/.* "//; s/".*//')
Libs: $pclibs
Libs: -L$libdir -lx264
Libs.private: $libpthread $libm
Cflags: -I$includedir
EOF
......
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