package/dovecot: Adjust LIBDOVECOT in dovecot-config to STAGING_DIR
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sat, 8 Nov 2014 09:39:08 +0000 (10:39 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 8 Nov 2014 23:06:54 +0000 (00:06 +0100)
Fixes
http://autobuild.buildroot.net/results/3e6/3e6c258d7636fedbb87ba62069094291666e6a85/
http://autobuild.buildroot.net/results/410/410b68afece06ddb03a00245cfdc3de4d9a4e5f1/
http://autobuild.buildroot.net/results/bd3/bd37ee92eeb00adb1558dbb61315465a0cdfe635/
http://autobuild.buildroot.net/results/fd1/fd18c3678eded431476b4e61a10c48e160ffd51a//
and many others

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/dovecot/dovecot.mk

index fd597ee92da227b1530f75580ef3ee87c1933f1b..a60dd4dbe38fbcd0c7d59378c8d540fedc1f8628 100644 (file)
@@ -90,6 +90,7 @@ DOVECOT_POST_CONFIGURE_HOOKS += DOVECOT_POST_CONFIGURE
 # DOVECOT_CONFIG_SCRIPTS can not be used to rewrite paths
 define DOVECOT_FIX_STAGING_DOVECOT_CONFIG
        $(SED) 's,^LIBDOVECOT_INCLUDE=.*$$,LIBDOVECOT_INCLUDE=\"-I$(STAGING_DIR)/usr/include/dovecot\",' $(STAGING_DIR)/usr/lib/dovecot-config
+       $(SED) 's,^LIBDOVECOT=.*$$,LIBDOVECOT=\"-L$(STAGING_DIR)/usr/lib -ldovecot\",' $(STAGING_DIR)/usr/lib/dovecot-config
 endef
 
 DOVECOT_POST_INSTALL_STAGING_HOOKS += DOVECOT_FIX_STAGING_DOVECOT_CONFIG