summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog11
-rw-r--r--THANKS1
-rw-r--r--debian/changelog2
-rw-r--r--dpkg-deb/Makefile.am7
-rw-r--r--dpkg-split/Makefile.am4
-rw-r--r--dselect/Makefile.am6
-rw-r--r--src/Makefile.am14
7 files changed, 34 insertions, 11 deletions
diff --git a/ChangeLog b/ChangeLog
index ed13abbab..24219abc4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+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
diff --git a/THANKS b/THANKS
index f54f86547..d203253ed 100644
--- a/THANKS
+++ b/THANKS
@@ -108,6 +108,7 @@ Marcel Toele <mtoele@kern.nl>
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>
diff --git a/debian/changelog b/debian/changelog
index a3744cd5f..c28890060 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,8 @@ dpkg (1.15.0) UNRELEASED; urgency=low
* 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
diff --git a/dpkg-deb/Makefile.am b/dpkg-deb/Makefile.am
index d433cb426..e948c4393 100644
--- a/dpkg-deb/Makefile.am
+++ b/dpkg-deb/Makefile.am
@@ -17,5 +17,10 @@ dpkg_deb_SOURCES = \
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)
+
diff --git a/dpkg-split/Makefile.am b/dpkg-split/Makefile.am
index 7d85d15ce..e596351c9 100644
--- a/dpkg-split/Makefile.am
+++ b/dpkg-split/Makefile.am
@@ -19,9 +19,9 @@ dpkg_split_SOURCES = \
split.c
dpkg_split_LDADD = \
+ ../lib/libdpkg.a \
../libcompat/libcompat.a \
- $(LIBINTL) \
- ../lib/libdpkg.a
+ $(LIBINTL)
pkglib_SCRIPTS = mksplit
diff --git a/dselect/Makefile.am b/dselect/Makefile.am
index f4a97ad69..c0bb6bc7d 100644
--- a/dselect/Makefile.am
+++ b/dselect/Makefile.am
@@ -35,10 +35,10 @@ dselect_SOURCES = \
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
diff --git a/src/Makefile.am b/src/Makefile.am
index a1377e756..25c3757e9 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -28,8 +28,12 @@ dpkg_SOURCES = \
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 \
@@ -37,17 +41,17 @@ dpkg_query_SOURCES = \
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