[x264-devel] x264 - compiles gpac static or dynamic?

Sérgio Basto sergio at serjux.com
Wed Nov 26 06:45:09 CET 2014


On Ter, 2014-11-25 at 13:56 -1000, E R wrote: 
> These are my configure options I used;
> 
> 
> # wxwidgets support
> if [ "${WX_SUPPORT:-no}" = "no" ]; then
>   wx_option="--disable-wx"
> else
>   wx_option="--enable-wx"
> fi
> 
> ./configure --prefix=/usr \
>   --mandir=/usr/man \
>   --disable-opt \
>   --cpu=${ARCH} \
>   --extra-cflags="$SLKCFLAGS" \
>   --disable-ipv6 \
>   $wx_option
> 
> 
> Gpac has the option below, but I did not use this;
> 
> --enable-static-bin   <GPAC static build>
> 
> 
> So If I'm not enabling a static build I'm assuming it has to be
> dynamically linked, what else could it be?

see configure file in x264 dir 

gpac="auto"

--disable-gpac)
    gpac="no"

cc_check "" -lz && GPAC_LIBS="-lgpac_static -lz" ||
GPAC_LIBS="-lgpac_static"

just could be auto (detect) or no , if detected use static ! 

no way to regenerate configure ? 

> On Tue, Nov 25, 2014 at 1:49 PM, Sérgio Basto <sergio at serjux.com> wrote:
> > static
> >
> > On Ter, 2014-11-25 at 13:30 -1000, E R wrote:
> >> HI All,
> >>
> >>
> >> x264 has the configure option; --enable-static which I did not use, so
> >> I'm assuming without it, it's all a dynamic build?
> >
> > Verifying the rpmfusion package , we need as a build required:
> > gpac-devel-static, because compile it with static lib,  if no option is
> > given .
> >
> >> I'm trying to figure out if x264 uses a static or dynamic version of gpac?
> >
> > That is a good question , if you could build dynamic version , let me
> > know . This x264 is one exception on Fedora / rpmfusion , because we
> > build everything dynamically . I wonder why not x264 with gpac, should
> > have a reason ...
> >
> >> thanks
> >> _______________________________________________
> >> x264-devel mailing list
> >> x264-devel at videolan.org
> >> https://mailman.videolan.org/listinfo/x264-devel
> >
> > --
> > Sérgio M. B.
> >
> > _______________________________________________
> > x264-devel mailing list
> > x264-devel at videolan.org
> > https://mailman.videolan.org/listinfo/x264-devel
> _______________________________________________
> x264-devel mailing list
> x264-devel at videolan.org
> https://mailman.videolan.org/listinfo/x264-devel

-- 
Sérgio M. B.



More information about the x264-devel mailing list