]> err.no Git - dpkg/commitdiff
Fix link order when using libcompat.a and libintl.a
authorGuillem Jover <guillem@debian.org>
Mon, 19 May 2008 04:33:49 +0000 (07:33 +0300)
committerGuillem Jover <guillem@debian.org>
Mon, 19 May 2008 04:35:55 +0000 (07:35 +0300)
Place them after libdpkg.a.
Based on a patch by Martin Koeppe. Closes: #481805

ChangeLog
THANKS
debian/changelog
dpkg-deb/Makefile.am
dpkg-split/Makefile.am
dselect/Makefile.am
src/Makefile.am

index ed13abbabe547d9b253b0390b2f019a08e8f3bf7..24219abc44b320014850cdb150a86eb9873df72a 100644 (file)
--- 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 f54f8654768095211c534a6dfc95a682050a3670..d203253edafce7efa3f7156c2ad202863f60a1a7 100644 (file)
--- 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>
index a3744cd5f7d56ac2ed4486132187ba69f92cff0a..c2889006040ea3d1c400c0e776af6cc2744ba303 100644 (file)
@@ -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
index d433cb4268f21c24ce426ac739dbfa92240c5325..e948c4393163f1d73da5a10c220124953cb593f4 100644 (file)
@@ -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)
+
index 7d85d15ce7d574ff3be5629657076ad6d8092fda..e596351c9302ce26da7d169723489eec1f2ee6a2 100644 (file)
@@ -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
index f4a97ad697f90e8771c8e5407c63feff79f593cd..c0bb6bc7d449b1c06192ceccf589dc750657dbf0 100644 (file)
@@ -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
index a1377e756f8096cebd3de4c493ea1bb226f2703f..25c3757e951c113799295c9adfeac733c1cf582d 100644 (file)
@@ -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