mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-02 23:55:27 +00:00
Remove omapi support and only include platform specific libs when needed.
This commit is contained in:
@@ -18,7 +18,6 @@ Libraries:
|
|||||||
isc
|
isc
|
||||||
dns
|
dns
|
||||||
lwres
|
lwres
|
||||||
omapi
|
|
||||||
EOF
|
EOF
|
||||||
exit $1
|
exit $1
|
||||||
}
|
}
|
||||||
@@ -69,9 +68,6 @@ while test $# -gt 0; do
|
|||||||
lwres)
|
lwres)
|
||||||
liblwres=true;
|
liblwres=true;
|
||||||
;;
|
;;
|
||||||
omapi)
|
|
||||||
libomapi=true;
|
|
||||||
;;
|
|
||||||
*)
|
*)
|
||||||
usage 1 1>&2
|
usage 1 1>&2
|
||||||
esac
|
esac
|
||||||
@@ -89,17 +85,19 @@ if test x"$echo_cflags" = x"true"; then
|
|||||||
fi
|
fi
|
||||||
if test x"$echo_libs" = x"true"; then
|
if test x"$echo_libs" = x"true"; then
|
||||||
libs=-L${exec_prefix}/lib
|
libs=-L${exec_prefix}/lib
|
||||||
if test x"$libomapi" = x"true" ; then
|
|
||||||
libs="$libs -lomapi"
|
|
||||||
fi
|
|
||||||
if test x"$liblwres" = x"true" ; then
|
if test x"$liblwres" = x"true" ; then
|
||||||
libs="$libs -llwres"
|
libs="$libs -llwres"
|
||||||
fi
|
fi
|
||||||
if test x"$libdns" = x"true" ; then
|
if test x"$libdns" = x"true" ; then
|
||||||
libs="$libs -ldns @DNS_OPENSSL_LIBS@"
|
libs="$libs -ldns @DNS_OPENSSL_LIBS@"
|
||||||
|
needothers=true
|
||||||
fi
|
fi
|
||||||
if test x"$libisc" = x"true" ; then
|
if test x"$libisc" = x"true" ; then
|
||||||
libs="$libs -lisc"
|
libs="$libs -lisc"
|
||||||
|
needothers=true
|
||||||
fi
|
fi
|
||||||
echo $libs @LIBS@
|
if test x"$needothers" = x"true" ; then
|
||||||
|
libs="$libs @LIBS@"
|
||||||
|
fi
|
||||||
|
echo $libs
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user