build: test for linux-* rather than linux-gnu

Check for linux-* when testing $host_os so we properly detect
when to set WITH_VTPM_PROXY.

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
This commit is contained in:
Stefan Berger 2017-05-31 17:45:51 -04:00
parent 9606607075
commit f071d82071

View File

@ -436,7 +436,7 @@ fi
with_vtpm_proxy=no
case $host_os in
linux-gnu)
linux-*)
with_vtpm_proxy=yes
AC_DEFINE_UNQUOTED([WITH_VTPM_PROXY], 1,
[whether to build in vTPM proxy support (Linux only)])