Re: Static link to Xrender
Bruno Coudoin <[email protected]> Sun, 29 Mar 2009 15:10:11 +0200
| Newsgroups | gmane.comp.autopackage.devel |
|---|---|
| Message-ID | <1238332211.6181.100.camel@bruno> |
Le dimanche 29 mars 2009 à 13:52 +0200, Jan Niklas Hasse a écrit : > 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 am using the latest 1.4.1 autopackage-devel By using APBUILD_STATIC_X=1 the warning is no more there. But when I install it is still dynamically linked to Xrender libraries so I assume it does not work. -- Bruno Coudoin http://gcompris.net Free educational software for kids http://toulibre.org Logiciel Libre à Toulouse http://april.org Promouvoir et défendre le Logiciel Libre --------------------------------------------------------------------- To unsubscribe, e-mail: autopackage-dev-unsubscribe-OfajU3CKLf1/[email protected] For additional commands, e-mail: autopackage-dev-help-OfajU3CKLf1/[email protected]