[Libosinfo] [PATCH] configure.ac: Fix darwin detection code
Fabiano Fidêncio
fabiano at fidencio.org
Wed May 18 22:27:10 UTC 2016
On Thu, May 12, 2016 at 2:10 AM, Programmingkid
<programmingkidx at gmail.com> wrote:
> The $host variable would be set to "x86_64-apple-darwin10.8.0" when using
> Mac OS X. So to detect it, we need to add another asterisk to the case.
>
> Signed-off-by: John Arbuckle <programmingkidx at gmail.com>
> ---
> configure.ac | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/configure.ac b/configure.ac
> index e4850c7..5dfae47 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -97,7 +97,7 @@ case "$host" in
> NO_UNDEFINED_LDFLAGS="-no-undefined"
> ;;
>
> - darwin*)
> + *darwin*)
> NO_UNDEFINED_LDFLAGS="-Wl,-undefined,error"
> ;;
>
> --
> 2.7.2
>
>
ACK and pushed!
--
Fabiano Fidêncio
More information about the Libosinfo
mailing list