Merge remote-tracking branch 'origin/debian'
[hcoop/debian/courier-authlib.git] / debian / patches / 0004-Reorder-libs-on-pkglib_LTLIBRARIES-to-help-libtool-f.patch
diff --git a/debian/patches/0004-Reorder-libs-on-pkglib_LTLIBRARIES-to-help-libtool-f.patch b/debian/patches/0004-Reorder-libs-on-pkglib_LTLIBRARIES-to-help-libtool-f.patch
new file mode 100644 (file)
index 0000000..8127028
--- /dev/null
@@ -0,0 +1,24 @@
+From: =?utf-8?q?Ond=C5=99ej_Sur=C3=BD?= <ondrej@sury.org>
+Date: Mon, 8 Feb 2016 15:43:46 +0100
+Subject: Reorder libs on pkglib_LTLIBRARIES to help libtool find the libs
+
+---
+ Makefile.am | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index 1d6cdb0..6c17973 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -18,9 +18,9 @@ modules=@LIBAUTHUSERDB@ \
+ pkglibexecdir=$(libexecdir)/courier-authlib
+ pkglibexec_SCRIPTS=authsystem.passwd
+-pkglib_LTLIBRARIES=libcourierauth.la \
++pkglib_LTLIBRARIES=libcourierauth.la libcourierauthcommon.la \
+       libcourierauthsasl.la libcourierauthsaslclient.la \
+-      libcourierauthcommon.la $(modules)
++      $(modules)
+ sbin_SCRIPTS=authdaemond
+ sbin_PROGRAMS=authtest authenumerate authpasswd
+ bin_PROGRAMS=courierauthconfig