[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 1/2] build: add configure flag to indicate when the host is Darwi
From: |
phillip . ennen |
Subject: |
[PATCH 1/2] build: add configure flag to indicate when the host is Darwin |
Date: |
Thu, 4 Feb 2021 17:25:43 +0100 |
From: Phillip Tennen <phillip@axleos.com>
Although we already have CONFIG_BSD, I added this flag to be sure that we could
rely on various macOS-specific subsystems, such as vmnet.framework.
Signed-off-by: Phillip Tennen <phillip@axleos.com>
---
configure | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/configure b/configure
index 87de49e2c2..4afd22bdf5 100755
--- a/configure
+++ b/configure
@@ -5825,6 +5825,10 @@ if [ "$bsd" = "yes" ] ; then
echo "CONFIG_BSD=y" >> $config_host_mak
fi
+if [ "$darwin" = "yes" ] ; then
+ echo "CONFIG_DARWIN=y" >> $config_host_mak
+fi
+
if test "$qom_cast_debug" = "yes" ; then
echo "CONFIG_QOM_CAST_DEBUG=y" >> $config_host_mak
fi
--
2.24.3 (Apple Git-128)