Skip to content
Snippets Groups Projects

Support bulding on musl libc

Merged David Holroyd requested to merge dholroyd/librist:musl-build into master

There are a couple of things that don't work when building under musl,

  • The linux/if_alg.h header isn't available (even though __linux is defined)
  • The be64toh() / htobe64() macros are defined, but the existing test didn't work because it looks for glibc version

My recipe for getting a static build using musl rather than glibc is to configure librist with,

CC=musl-gcc meson -Dbuiltin_lz4=true -Dbuiltin_cjson=true --default-library=static

Merge request reports

Pipeline #19500 passed

Pipeline passed for 5124bd3a on dholroyd:musl-build

Approval is optional

Merged by Sergio AmmirataSergio Ammirata 4 years ago (Jun 27, 2020 4:35pm UTC)

Merge details

  • Changes merged into master with 5124bd3a.
  • Deleted the source branch.

Pipeline #19501 passed

Pipeline passed for 5124bd3a on master

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading