diff options
author | WaluigiWare64 <26121-WaluigiWare64@users.noreply.gitlab.freedesktop.org> | 2021-02-24 15:24:33 +0000 |
---|---|---|
committer | WaluigiWare64 <68647953+WaluigiWare64@users.noreply.github.com> | 2021-02-24 16:02:56 +0000 |
commit | 410e296a52fb274648f8ecf53561eaab4b33c52c (patch) | |
tree | 284ecab9794aa8823fe205d098a0234e355f2341 /meson.build | |
parent | 5c5d4c4719b5e384b772f0546ae06142087a7bfd (diff) | |
download | slirp-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.build | 5 |
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( |