Build /usr/bin/x264 with gpac shared lib instead static lib.

el8
Sérgio M. Basto 6 years ago
parent cbc69593c4
commit 67dda12f04

@ -1,13 +1,11 @@
--- ./configure.orig 2019-03-12 00:41:42.000000000 +0000 --- ./configure.orig 2019-03-12 00:41:42.000000000 +0000
+++ ./configure 2019-03-12 01:10:12.603640526 +0000 +++ ./configure 2019-04-29 03:48:04.806285957 +0100
@@ -1207,7 +1207,9 @@ fi @@ -1206,7 +1206,7 @@ fi
if [ "$gpac" = "auto" -a "$lsmash" != "yes" ] ; then if [ "$gpac" = "auto" -a "$lsmash" != "yes" ] ; then
gpac="no" gpac="no"
GPAC_LIBS="-lgpac_static" - GPAC_LIBS="-lgpac_static"
- cc_check "" -lz && GPAC_LIBS="$GPAC_LIBS -lz" + GPAC_LIBS="-lgpac"
+ for lib in -lz -lssl -lcrypto -lpng -ljpeg; do cc_check "" -lz && GPAC_LIBS="$GPAC_LIBS -lz"
+ cc_check "" $lib && GPAC_LIBS="$GPAC_LIBS $lib"
+ done
if [ "$SYS" = "WINDOWS" ] ; then if [ "$SYS" = "WINDOWS" ] ; then
cc_check "" -lws2_32 && GPAC_LIBS="$GPAC_LIBS -lws2_32" cc_check "" -lws2_32 && GPAC_LIBS="$GPAC_LIBS -lws2_32"
cc_check "" -lwinmm && GPAC_LIBS="$GPAC_LIBS -lwinmm"

@ -210,6 +210,7 @@ install -pm644 generic/{AUTHORS,COPYING} %{buildroot}%{_pkgdocdir}/
* Mon Apr 29 2019 Sérgio Basto <sergio@serjux.com> - 0.157-5.20190303git72db437 * Mon Apr 29 2019 Sérgio Basto <sergio@serjux.com> - 0.157-5.20190303git72db437
- Enable opencl (which is default) only exist --disable-opencl option - Enable opencl (which is default) only exist --disable-opencl option
- Disable opencl on 10bit seems that is just prepared for 8bit. - Disable opencl on 10bit seems that is just prepared for 8bit.
- Build /usr/bin/x264 with gpac shared lib instead static lib.
* Sun Apr 28 2019 Leigh Scott <leigh123linux@gmail.com> - 0.157-4.20190303git72db437 * Sun Apr 28 2019 Leigh Scott <leigh123linux@gmail.com> - 0.157-4.20190303git72db437
- Fix opencl dlopen (rfbz#5185) - Fix opencl dlopen (rfbz#5185)

Loading…
Cancel
Save