From 3999bcc7283fd0955bcffba0f76f2c02b24576d8 Mon Sep 17 00:00:00 2001 From: Shuanglei Tao Date: Thu, 20 Feb 2020 20:13:18 +0800 Subject: [PATCH] srelay: fix build on none linux os (#3223) --- package/lean/srelay/patches/001-compile.patch | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/package/lean/srelay/patches/001-compile.patch b/package/lean/srelay/patches/001-compile.patch index 0cc2bc343..c4cb42cf6 100644 --- a/package/lean/srelay/patches/001-compile.patch +++ b/package/lean/srelay/patches/001-compile.patch @@ -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 :