aboutsummaryrefslogtreecommitdiff
path: root/plugins-root
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-root
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-root')
-rw-r--r--plugins-root/Makefile.am8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins-root/Makefile.am b/plugins-root/Makefile.am
index 83c06487..bca3ceb5 100644
--- a/plugins-root/Makefile.am
+++ b/plugins-root/Makefile.am
@@ -4,10 +4,10 @@ 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 -I$(top_srcdir)/plugins @SSLINCLUDE@
-datadir = @datadir@
localedir = $(datadir)/locale
DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
-LIBS = @LIBINTL@ @LIBS@
+# Don't add LTLIBINTL to all, as pst3 doesn't need it
+#LIBS = @LTLIBINTL@ @LIBS@
noinst_PROGRAMS = check_dhcp check_icmp @EXTRAS_ROOT@
@@ -66,8 +66,8 @@ install-exec-local: $(noinst_PROGRAMS)
##############################################################################
# the actual targets
-check_dhcp_LDADD = $(NETLIBS)
-check_icmp_LDADD = $(NETLIBS) $(SOCKETLIBS)
+check_dhcp_LDADD = @LTLIBINTL@ $(NETLIBS)
+check_icmp_LDADD = @LTLIBINTL@ $(NETLIBS) $(SOCKETLIBS)
# -m64 needed at compiler and linker phase
pst3_CFLAGS = @PST3CFLAGS@
pst3_LDFLAGS = @PST3CFLAGS@