srelay: fix build on none linux os (#3223)

This commit is contained in:
Shuanglei Tao 2020-02-20 20:13:18 +08:00 committed by GitHub
parent 30ffdb3f2a
commit 3999bcc728
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,15 @@
--- a/configure
+++ b/configure
@@ -3999,11 +3999,11 @@
@@ -2361,7 +2361,7 @@ test -n "$target_alias" &&
NONENONEs,x,x, &&
program_prefix=${target_alias}-
-case "$build_os" in
+case "$host_os" in
freebsd*)
OS=FREEBSD
$as_echo "#define FREEBSD 1" >>confdefs.h
@@ -3999,11 +3999,11 @@ $as_echo_n "checking whether enabling th
LDFLAGS="$LDFLAGS -lpthread"
fi
if test "$cross_compiling" = yes; then :