Code

Fix compile problems on Solaris for pst3 and ssl libs
authorTon Voon <tonvoon@users.sourceforge.net>
Wed, 17 May 2006 08:56:06 +0000 (08:56 +0000)
committerTon Voon <tonvoon@users.sourceforge.net>
Wed, 17 May 2006 08:56:06 +0000 (08:56 +0000)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1392 f882894a-f735-0410-b71e-b25c423dba1c

configure.in
plugins-root/Makefile.am

index 6556ecdbecb5275874241024ce3d5fbee2e1134f..4e65c52fbdd446e3c60a6c085e957dd611a68ba4 100644 (file)
@@ -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
index 782a1ca78859d78c07dfcf0da842e54f61adf32b..2a2987d7a5cfd433d633d155d847338f4bed2fc1 100644 (file)
@@ -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