summaryrefslogtreecommitdiff
path: root/devel/libdex/files/patch-src_meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'devel/libdex/files/patch-src_meson.build')
-rw-r--r--devel/libdex/files/patch-src_meson.build13
1 files changed, 13 insertions, 0 deletions
diff --git a/devel/libdex/files/patch-src_meson.build b/devel/libdex/files/patch-src_meson.build
new file mode 100644
index 000000000000..cfa8db083191
--- /dev/null
+++ b/devel/libdex/files/patch-src_meson.build
@@ -0,0 +1,13 @@
+src/meson.build:69:21: ERROR: C shared or static library 'atomic' not found
+
+--- src/meson.build.orig 2025-03-15 19:01:29 UTC
++++ src/meson.build
+@@ -65,7 +65,7 @@ libdex_deps = [
+ glib_dep,
+ ]
+
+-if host_machine.system() != 'darwin'
++if host_machine.system() == 'linux'
+ libatomic_dep = cc.find_library('atomic')
+ if not cc.links('int main(){}', dependencies: [libatomic_dep])
+ error('libatomic dependency is missing!')