Re: Static link to Xrender

Jan Niklas Hasse <[email protected]> Sun, 29 Mar 2009 13:52:46 +0200
Newsgroups gmane.comp.autopackage.devel
Message-ID <[email protected]>
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?

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