From: Ton Voon Date: Wed, 17 May 2006 08:56:06 +0000 (+0000) Subject: Fix compile problems on Solaris for pst3 and ssl libs X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c655a1c0115bf01738d328436b0e4c32893f5b3e;p=nagiosplug.git 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 --- diff --git a/configure.in b/configure.in index 6556ecd..4e65c52 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 782a1ca..2a2987d 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