[Libosinfo] [PATCH] configure.ac: Fix darwin detection code

Programmingkid programmingkidx at gmail.com
Thu May 12 00:10:39 UTC 2016


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





More information about the Libosinfo mailing list