Skip to content

feat: add FreeBSD x86_64 build target#1121

Open
mfwolffe wants to merge 12 commits into
anomalyco:mainfrom
mfwolffe:freebsd-support
Open

feat: add FreeBSD x86_64 build target#1121
mfwolffe wants to merge 12 commits into
anomalyco:mainfrom
mfwolffe:freebsd-support

Conversation

@mfwolffe
Copy link
Copy Markdown

Add FreeBSD x86_64 to the Zig cross-compilation targets.

  • build.zig: add x86_64-freebsd to SUPPORTED_TARGETS, link pthread
  • miniaudio_shim.c: enable OSS backend for FreeBSD

Built and tested on FreeBSD 15.0-RELEASE x86_64. The resulting
libopentui.so links against native libc.so.7/libthr.so.3/libm.so.5
and loads via bun:ffi dlopen().

Add FreeBSD to SUPPORTED_TARGETS in the Zig build system with
x86_64-freebsd target and OSS audio backend via miniaudio.
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.

2 participants