8000 [meson] fix build on Linux by ropan1 · Pull Request #447 · aubio/aubio · GitHub
[go: up one dir, main page]

Skip to content

[meson] fix build on Linux - #447

Open
ropan1 wants to merge 1 commit into
aubio:masterfrom
ropan1:fix/meson-linux
Open

ropan1 wants to merge 1 commit into
aubio:masterfrom
ropan1:fix/meson-linux

Conversation

@ropan1
@ropan1 ropan1 commented Nov 3, 2026
Copy link
Copy Markdown

meson setup fails on Linux with src/meson.build:85:15: ERROR: Dependency "appleframeworks" not found (tried framework).
After making it optional, linking fails during meson compile because libm is never added, e.g.:

src/cvec.c:166:(.text+0x50c): undefined reference to `logf'

This makes the appleframeworks dependencies optional and links libm when found.
Also fixes a typo when adding rubberband as a dependency, where flac.found() was being checked instead of rubberband.found().

Tested on Fedora 44: meson setup, compile, and test all pass.

add libm as a dependency if found
make appleframeworks dependencies optional
check rubberband.found() instead of flac.found()
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

0