SF.net SVN: gar:[23076] csw/mgar/pkg/dovecot/trunk/Makefile

jake_goerzen at users.sourceforge.net jake_goerzen at users.sourceforge.net
Thu Feb 27 23:04:38 CET 2014


Revision: 23076
          http://sourceforge.net/p/gar/code/23076
Author:   jake_goerzen
Date:     2014-02-27 22:04:36 +0000 (Thu, 27 Feb 2014)
Log Message:
-----------
dovecot: work around linking mysqlclient.so; add EXTRA_LINKER_FLAGS = -lm

Modified Paths:
--------------
    csw/mgar/pkg/dovecot/trunk/Makefile

Modified: csw/mgar/pkg/dovecot/trunk/Makefile
===================================================================
--- csw/mgar/pkg/dovecot/trunk/Makefile	2014-02-27 16:59:05 UTC (rev 23075)
+++ csw/mgar/pkg/dovecot/trunk/Makefile	2014-02-27 22:04:36 UTC (rev 23076)
@@ -75,6 +75,13 @@
 CONFIGURE_ARGS += --with-zlib
 CONFIGURE_ARGS += --with-bzlib
 
+# Disable linker map forcing SUNW_1.22.2 as the linked MySQL needs SUNW_1.22.5
+LINKER_MAPS =
+
+# This is because libmysqlclient.so is not self-contained as it should be:
+# it uses floor() but does not link to libm. 
+EXTRA_LINKER_FLAGS = -lm
+
 EXTRA_INC = /opt/csw/include/mysql /opt/csw/include/postgresql
 
 STRIP_DIRS  = $(DESTDIR)$(libexecdir)/dovecot

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list