From 9188225da4af5d09a59590a563b5516879b81579 Mon Sep 17 00:00:00 2001 From: Ton Voon Date: Fri, 14 Mar 2008 15:44:27 +0000 Subject: Fixed 64 bit pst3 when tries to link to gettext. Gettext linked dynamically, if necessary git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1941 f882894a-f735-0410-b71e-b25c423dba1c --- plugins/Makefile.am | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'plugins') diff --git a/plugins/Makefile.am b/plugins/Makefile.am index 30080aeb..67c49ca9 100644 --- a/plugins/Makefile.am +++ b/plugins/Makefile.am @@ -4,10 +4,11 @@ VPATH = $(top_srcdir) $(top_srcdir)/lib $(top_srcdir)/plugins $(top_srcdir)/plug INCLUDES = -I.. -I$(top_srcdir)/lib -I$(top_srcdir)/gl -I$(top_srcdir)/intl @LDAPINCLUDE@ @PGINCLUDE@ @SSLINCLUDE@ -datadir = @datadir@ localedir = $(datadir)/locale +# gettext docs say to use AM_CPPFLAGS, but per module_CPPFLAGS override this DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ -LIBS = @LIBINTL@ @LIBS@ +# gettext docs say to use LDADD, but per module_LDADD override +LIBS = @LTLIBINTL@ @LIBS@ MATHLIBS = @MATHLIBS@ # This is not portable. Run ". tools/devmode" to get development compile flags -- cgit v1.2.3-74-g34f1