[PATCH] configure.ac: Fix darwin detection code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
---
 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


_______________________________________________
Libosinfo mailing list
Libosinfo@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libosinfo



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux