From c655a1c0115bf01738d328436b0e4c32893f5b3e Mon Sep 17 00:00:00 2001 From: Ton Voon Date: Wed, 17 May 2006 08:56:06 +0000 Subject: Fix compile problems on Solaris for pst3 and ssl libs git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1392 f882894a-f735-0410-b71e-b25c423dba1c --- configure.in | 2 +- plugins-root/Makefile.am | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 6556ecdb..4e65c52f 100644 --- a/configure.in +++ b/configure.in @@ -444,7 +444,7 @@ if ! test x"$with_openssl" = x"no"; then unset FOUNDINCLUDE if test x"$with_openssl" != x"/usr" ; then CPPFLAGS="$CPPFLAGS -I$with_openssl/include" - LDFLAGS="$LDFLAGS -R$with_openssl/lib" + LDFLAGS="$LDFLAGS -L$with_openssl/lib" fi dnl check for openssl in $dir/include/openssl diff --git a/plugins-root/Makefile.am b/plugins-root/Makefile.am index 782a1ca7..2a2987d7 100644 --- a/plugins-root/Makefile.am +++ b/plugins-root/Makefile.am @@ -70,6 +70,7 @@ install-exec-local: $(EXTRA_PROGRAMS) # the actual targets check_dhcp_LDADD = $(NETLIBS) check_icmp_LDADD = $(SOCKETLIBS) +pst3_LDADD = -lkvm check_dhcp_DEPENDENCIES = check_dhcp.c $(NETOBJS) $(DEPLIBS) check_icmp_DEPENDENCIES = check_icmp.c -- cgit v1.2.3-74-g34f1