File x264-gpac_no_static.patch of Package libx264
diff -ruN x264-0.161+git20220602.baee400/configure x264-0.161+git20220602.baee400.patched/configure
--- x264-0.161+git20220602.baee400/configure 2022-06-01 18:31:50.000000000 -0400
+++ x264-0.161+git20220602.baee400.patched/configure 2022-10-24 22:22:17.417622579 -0400
@@ -1266,7 +1266,7 @@
fi
fi
if [ -z "$GPAC_LIBS" ] ; then
- GPAC_LIBS="-lgpac_static"
+ GPAC_LIBS="-lgpac"
cc_check "" -lz && GPAC_LIBS="$GPAC_LIBS -lz"
cc_check "" -ldl && GPAC_LIBS="$GPAC_LIBS -ldl"
if [ "$SYS" = "WINDOWS" ] ; then