Place them after libdpkg.a.
Based on a patch by Martin Koeppe. Closes: #481805
+2008-05-19 Martin Koeppe <mkoeppe@gmx.de>,
+ Guillem Jover <guillem@debian.org>
+
+ * dpkg-deb/Makefile.am (dpkg_deb_LDADD): Move 'libcompat.a' and
+ '$(LIBINTL)' after 'libdpkg.a'.
+ * dpkg-split/Makefile.am (dpkg_split_LDADD): Likewise.
+ * dselect/Makefile.am (dselect_LDADD): Likewise.
+ * /src/Makefile.am (dpkg_LDADD): Likewise.
+ (dpkg_query_LDADD): Likewise.
+ (dpkg_trigger_LDADD): Likewise.
+
2008-05-19 Guillem Jover <guillem@debian.org>
* scripts/Dpkg/Source/Package.pm ($diff_ignore_default_regexp): Add
Marco d'Itri <md@linux.it>
Marcus Brinkmann <brinkmd@debian.org>
Mark Rosenstand <mark@borkware.net>
+Martin Koeppe <mkoeppe@gmx.de>
Masato Taruishi <taru@debian.or.jp>
Mathias Weidner <mathias@weidner.in-bad-schmiedeberg.de>
Matt Kraai <kraai@ftbfs.org>
* Mark and coalesce similar strings for translation.
* Add '.be' to the default dpkg-source -i regex. Closes: #481716
Based on a patch by Ben Finney.
+ * Fix link order when using libcompat.a and libintl.a by placing them after
+ libdpkg.a. Based on a patch by Martin Koeppe. Closes: #481805
[ Raphael Hertzog ]
* Enhance dpkg-shlibdeps's error message when a library can't be found to
main.c
dpkg_deb_LDADD = \
+ ../lib/libdpkg.a \
../libcompat/libcompat.a \
- $(LIBINTL) ../lib/libdpkg.a $(ZLIB_LIBS) $(BZ2_LIBS) $(SELINUX_LIBS)
+ $(LIBINTL) \
+ $(ZLIB_LIBS) \
+ $(BZ2_LIBS) \
+ $(SELINUX_LIBS)
+
split.c
dpkg_split_LDADD = \
+ ../lib/libdpkg.a \
../libcompat/libcompat.a \
- $(LIBINTL) \
- ../lib/libdpkg.a
+ $(LIBINTL)
pkglib_SCRIPTS = mksplit
pkgtop.cc
dselect_LDADD = \
- ../libcompat/libcompat.a \
- $(LIBINTL) \
$(CURSES_LIBS) \
- ../lib/libdpkg.a
+ ../lib/libdpkg.a \
+ ../libcompat/libcompat.a \
+ $(LIBINTL)
EXTRA_DIST = keyoverride mkcurkeys.pl
update.c
dpkg_LDADD = \
+ ../lib/libdpkg.a \
../libcompat/libcompat.a \
- $(LIBINTL) ../lib/libdpkg.a $(ZLIB_LIBS) $(BZ2_LIBS) $(SELINUX_LIBS)
+ $(LIBINTL) \
+ $(ZLIB_LIBS) \
+ $(BZ2_LIBS) \
+ $(SELINUX_LIBS)
dpkg_query_SOURCES = \
errors.c \
query.c
dpkg_query_LDADD = \
+ ../lib/libdpkg.a \
../libcompat/libcompat.a \
- $(LIBINTL) \
- ../lib/libdpkg.a
+ $(LIBINTL)
dpkg_trigger_SOURCES = \
trigcmd.c
dpkg_trigger_LDADD = \
+ ../lib/libdpkg.a \
../libcompat/libcompat.a \
- $(LIBINTL) \
- ../lib/libdpkg.a
+ $(LIBINTL)
install-data-local:
$(mkdir_p) $(DESTDIR)$(admindir)/alternatives