[x264-devel] [PATCH] Add -DX264_API_IMPORTS to x264.pc

anonymous.maarten at gmail.com anonymous.maarten at gmail.com
Tue Sep 4 15:38:53 CEST 2018


From: Anonymous Maarten <anonymous.maarten at gmail.com>

---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index 07ba4490..af31f24e 100755
--- a/configure
+++ b/configure
@@ -1538,7 +1538,7 @@ Description: H.264 (MPEG4 AVC) encoder library
 Version: $(grep POINTVER < x264_config.h | sed -e 's/.* "//; s/".*//')
 Libs: -L$libdir -lx264 $([ "$shared" = "yes" ] || echo $libpthread $libm $libdl)
 Libs.private: $([ "$shared" = "yes" ] && echo $libpthread $libm $libdl)
-Cflags: -I$includedir
+Cflags: -I$includedir $([ "$shared" = "yes" ] && echo -DX264_API_IMPORTS)
 EOF
 
 filters="crop select_every"
-- 
2.17.1



More information about the x264-devel mailing list