projects
/
platform
/
upstream
/
pulseaudio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51fecac
)
build-sys: meson: support memfd without SYS_memfd_create (FreeBSD 13)
author
Greg V
<greg@unrelenting.technology>
Fri, 3 Apr 2020 16:05:22 +0000
(19:05 +0300)
committer
PulseAudio Marge Bot
<pulseaudio-maintainers@lists.freedesktop.org>
Mon, 18 Jan 2021 16:33:53 +0000
(16:33 +0000)
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/277>
meson.build
patch
|
blob
|
history
diff --git
a/meson.build
b/meson.build
index
3d3128d
..
9741619
100644
(file)
--- a/
meson.build
+++ b/
meson.build
@@
-333,7
+333,8
@@
foreach f : check_functions
endif
endforeach
-if cc.has_header_symbol('sys/syscall.h', 'SYS_memfd_create')
+if cc.has_header_symbol('sys/syscall.h', 'SYS_memfd_create') \
+ or cc.has_function('memfd_create')
cdata.set('HAVE_MEMFD', 1)
endif