Code

Fixed link -m64 problems on pst3 for solaris. Fixed _FILE_OFFSET_BITS
[nagiosplug.git] / plugins-root / Makefile.am
index 3e6ee43dc607bec82e591216b3f4a309582bb0a4..83c064873f3be859c24c2c6ea35dfe1b048c7f1d 100644 (file)
@@ -68,7 +68,9 @@ install-exec-local: $(noinst_PROGRAMS)
 # the actual targets
 check_dhcp_LDADD = $(NETLIBS)
 check_icmp_LDADD = $(NETLIBS) $(SOCKETLIBS)
+# -m64 needed at compiler and linker phase
 pst3_CFLAGS = @PST3CFLAGS@
+pst3_LDFLAGS = @PST3CFLAGS@
 pst3_LDADD = -lkvm
 
 check_dhcp_DEPENDENCIES = check_dhcp.c $(NETOBJS) $(DEPLIBS)