Re: Static link to Xrender

Justin Karneges <[email protected]> Sun, 29 Mar 2009 08:29:25 -0700
Newsgroups gmane.comp.autopackage.devel
Message-ID <[email protected]>
On Sunday 29 March 2009 04:52:46 Jan Niklas Hasse wrote:
> On Sun, Mar 29, 2009 at 1:35 PM, Bruno Coudoin <[email protected]> 
wrote:
> > When running makepackage I have this related warning:
> > WARNING: ./bin/gcompris dynamically links against libXrender.so.1,
> > please link statically.
> >
> > What is the process to make it link statically in an autotools based
> > project. I tried to add APBUILD_STATIC="Xrender" in my [BuildPrepare]
> > section without success.
>
> Try APBUILD_STATIC_X=1, see http://autopackage.org/apbuild-apgcc.php
>
> But I think you've discovered a bug there because makepackage should
> not warn about this as we changed the default behaviour. Which version
> of autopackage are you using?

I use APBUILD_NO_STATIC_X and I get a warning saying this is default behavior.  
But then I get a warning about Xrender being dynamic.

As I understand it from previous discussion on this mailing list, you want all 
X libs dynamic all the time, so probably makepackage shouldn't bother you 
about Xrender being dynamic.

-Justin

---------------------------------------------------------------------
To unsubscribe, e-mail: autopackage-dev-unsubscribe-OfajU3CKLf1/[email protected]
For additional commands, e-mail: autopackage-dev-help-OfajU3CKLf1/[email protected]