We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6413775 commit 71ef3afCopy full SHA for 71ef3af
recipes/eon/build.nu
@@ -24,7 +24,13 @@ print $"INFO: Running meson setup with ($configure_args | str join ' ')"
24
# External commands will get LIBS, CPPFLAGS, CXXFLAGS as space-separated strings
25
# due to the to_string closure in ENV_CONVERSIONS.
26
meson setup bbdir ...$configure_args
27
-meson install -C bbdir
+if ($env.target_platform | str starts-with "osx") {
28
+(CXXFLAGS="${CXXFLAGS} -D_LIBCPP_DISABLE_AVAILABILITY"
29
+ meson install -C bbdir)
30
+} else {
31
+ meson install -C bbdir
32
+}
33
+
34
35
# --- Post-Install Linking Fix for macOS ---
36
# Delete all existing rpaths, and then add back a single correct one.
0 commit comments