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-root/Makefile.am | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins-root') 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@ -- cgit v1.2.3-74-g34f1