Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 1637dff

Browse files
PortAudio: Disable sndio in PortAudio to avoid missing -lsndio errors
Fixes a compilation error introduced in #76, where the `make all` target fails during the build of the PortAudio library on GNU/Linux systems. The failure was caused by PortAudio's configure script automatically enabling the sndio backend when `libsndio-dev` headers are present, which leads to linker errors due to missing `-lsndio`. To avoid this, we now explicitly pass `--without-sndio` to PortAudio’s configure script. This ensures that sndio support is disabled regardless of system headers, eliminating the need for `-lsndio` and fixing the build.
1 parent 82f39b9 commit 1637dff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ ifeq ($(call has, VIRTIOSND), 1)
100100
portaudio/Makefile:
101101
git submodule update --init portaudio
102102
$(PORTAUDIOLIB): portaudio/Makefile
103-
cd $(dir $<) && ./configure
103+
cd $(dir $<) && ./configure --without-sndio
104104
$(MAKE) -C $(dir $<)
105105
main.o: $(PORTAUDIOLIB)
106106

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /