mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 11:58:52 +00:00
BuildSystem: Add NetBSD.
Headers, libraries, and rpath. ASTERISK-27728 ASTERISK-11015 Reported by: Curt Sampson Change-Id: I50aa5fcd095937df32a2e33307caac7e79a8b5b7
This commit is contained in:
8
configure
vendored
8
configure
vendored
@@ -4631,6 +4631,11 @@ case "${host_os}" in
|
||||
esac
|
||||
|
||||
case "${host_os}" in
|
||||
netbsd*)
|
||||
ac_default_prefix=/usr/pkg
|
||||
CPPFLAGS=-I/usr/pkg/include
|
||||
LDFLAGS=-L/usr/pkg/lib
|
||||
;;
|
||||
freebsd*)
|
||||
ac_default_prefix=/usr/local
|
||||
CPPFLAGS=-I/usr/local/include
|
||||
@@ -18297,6 +18302,9 @@ fi
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use rpath" >&5
|
||||
$as_echo_n "checking whether to use rpath... " >&6; }
|
||||
AST_RPATH=
|
||||
if test "${OSARCH}" = "NetBSD"; then
|
||||
AST_RPATH="-Wl,-rpath,/usr/pkg/lib"
|
||||
fi
|
||||
if test "${check_rpath}" != yes; then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: skipped" >&5
|
||||
$as_echo "skipped" >&6; }
|
||||
|
Reference in New Issue
Block a user