aboutsummaryrefslogtreecommitdiff
path: root/plugins/Makefile.am
diff options
context:
space:
mode:
authorGravatar Ton Voon <tonvoon@users.sourceforge.net> 2008-03-14 15:44:27 +0000
committerGravatar Ton Voon <tonvoon@users.sourceforge.net> 2008-03-14 15:44:27 +0000
commit9188225da4af5d09a59590a563b5516879b81579 (patch)
tree342e1c562abe5d8df144defb483e1111258358f0 /plugins/Makefile.am
parent2f4d1e04488c6ae6342c38f2080a726f28d43b47 (diff)
downloadmonitoring-plugins-9188225da4af5d09a59590a563b5516879b81579.tar.gz
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
Diffstat (limited to 'plugins/Makefile.am')
-rw-r--r--plugins/Makefile.am5
1 files changed, 3 insertions, 2 deletions
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