aboutsummaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorWaluigiWare64 <26121-WaluigiWare64@users.noreply.gitlab.freedesktop.org>2021-02-24 15:24:33 +0000
committerWaluigiWare64 <68647953+WaluigiWare64@users.noreply.github.com>2021-02-24 16:02:56 +0000
commit410e296a52fb274648f8ecf53561eaab4b33c52c (patch)
tree284ecab9794aa8823fe205d098a0234e355f2341 /meson.build
parent5c5d4c4719b5e384b772f0546ae06142087a7bfd (diff)
downloadslirp-410e296a52fb274648f8ecf53561eaab4b33c52c.zip
slirp-410e296a52fb274648f8ecf53561eaab4b33c52c.tar.gz
slirp-410e296a52fb274648f8ecf53561eaab4b33c52c.tar.bz2
Set macOS deployment target to macOS 10.4
Without a macOS deployment target, the resulting library does not work on macOS versions lower than it was currently built on. For example, if libslirp was built on macOS 10.15, it would not work on macOS 10.14.
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build5
1 files changed, 5 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 12c12e7..82bc074 100644
--- a/meson.build
+++ b/meson.build
@@ -113,6 +113,11 @@ if cc.has_link_argument(vflag_test)
vflag += vflag_test
endif
+if host_system == 'darwin'
+ cargs += '-mmacosx-version-min=10.4'
+ vflag += '-mmacosx-version-min=10.4'
+endif
+
install_devel = not meson.is_subproject()
configure_file(