Libzypp/Devel/Linking

< Libzypp‎ | Devel
Şuraya atla: kullan, ara

Linking code

Linking libs

A line like

LDADD = $(top_srcdir)/zypp/lib@PACKAGE@.la \
/usr/lib/libxml2.a /usr/lib/libz.a

in test/Makefile.am should not be needed. libzypp should provide all libs it uses. Changed it back to

LDADD = $(top_srcdir)/zypp/lib@PACKAGE@.la

instead.

In zypp/Makefile.am:

lib@PACKAGE@_la_LIBADD = ... parser/lib@PACKAGE@_parser.la

Just link parser/lib@PACKAGE@_parser. Again, anything below parser has to be in [[[lib@PACKAGE@_parser</pre>


configure.ac

When adding libraries, add configure checks as well.


back

Last edit in Trac '11/22/05 10:14:05' by 'kkaempf'


Last edit in Trac '11/22/05 10:14:05' by 'kkaempf'


Last edit in Trac '11/22/05 10:14:05' by 'kkaempf'


Last edit in Trac '11/22/05 10:14:05' by 'kkaempf'