فهرست منبع

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
Ton Voon 20 سال پیش
والد
کامیت
c655a1c011
2فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 1 1
      configure.in
  2. 1 0
      plugins-root/Makefile.am

+ 1 - 1
configure.in

@@ -444,7 +444,7 @@ if ! test x"$with_openssl" = x"no"; then
 	unset FOUNDINCLUDE
 	unset FOUNDINCLUDE
 	if test x"$with_openssl" != x"/usr" ; then
 	if test x"$with_openssl" != x"/usr" ; then
 		CPPFLAGS="$CPPFLAGS -I$with_openssl/include"
 		CPPFLAGS="$CPPFLAGS -I$with_openssl/include"
-		LDFLAGS="$LDFLAGS -R$with_openssl/lib"
+		LDFLAGS="$LDFLAGS -L$with_openssl/lib"
 	fi
 	fi
 
 
 	dnl check for openssl in $dir/include/openssl
 	dnl check for openssl in $dir/include/openssl

+ 1 - 0
plugins-root/Makefile.am

@@ -70,6 +70,7 @@ install-exec-local: $(EXTRA_PROGRAMS)
 # the actual targets
 # the actual targets
 check_dhcp_LDADD = $(NETLIBS)
 check_dhcp_LDADD = $(NETLIBS)
 check_icmp_LDADD = $(SOCKETLIBS)
 check_icmp_LDADD = $(SOCKETLIBS)
+pst3_LDADD = -lkvm
 
 
 check_dhcp_DEPENDENCIES = check_dhcp.c $(NETOBJS) $(DEPLIBS) 
 check_dhcp_DEPENDENCIES = check_dhcp.c $(NETOBJS) $(DEPLIBS) 
 check_icmp_DEPENDENCIES = check_icmp.c
 check_icmp_DEPENDENCIES = check_icmp.c