Просмотр исходного кода

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 лет назад
Родитель
Сommit
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
 	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

+ 1 - 0
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