Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSX Build Fixes #140

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

OSX Build Fixes #140

wants to merge 3 commits into from

Conversation

nob13
Copy link

@nob13 nob13 commented Jan 10, 2025

Right now neatvnc doesn't build out of the box in OSX.

  • header files of libdrm are needed, but there is no way to build libdrm in OSX.
  • OSX doesn't support threads.h (but _Thread_local)
  • getrandom is linux only

Regarding arc4random: In the past this call seemed to be a security issue, however at least FreeBSD and OpenBSD changed their implementation, OSX changed since version 10.12 (according to man page)

I have read and understood CONTRIBUTING.md.

nob13 added 3 commits January 10, 2025 17:48
libdrm cannot be built for some platforms (e.g. OSX), but neatvnc only needs an include directory for drm_fourcc.h.
Some platforms (e.g. OSX) do not have threads.h available and no support for thread_local, but support _Thread_local.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant