File x264-gpac_no_static.patch of Package libx264

Index: x264-0.160+git20200702.4c2aafd8/configure
===================================================================
--- x264-0.160+git20200702.4c2aafd8.orig/configure
+++ x264-0.160+git20200702.4c2aafd8/configure
@@ -1230,7 +1230,7 @@ fi
 
 if [ "$gpac" = "auto" -a "$lsmash" != "yes" ] ; then
     gpac="no"
-    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
openSUSE Build Service is sponsored by