Skip to content

Commit bc606ab

Browse files
committed
PortAudio: Add missing -lsndio flag to fix build failure on Linux
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 a missing `-lsndio` linker flag. Adding this flag resolves the issue and allows the build to complete successfully.
1 parent 82f39b9 commit bc606ab

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
@@ -81,7 +81,7 @@ ifeq ($(call has, VIRTIOSND), 1)
8181
LDFLAGS += $(PORTAUDIOLIB)
8282

8383
ifeq ($(UNAME_S),Linux)
84-
LDFLAGS += -lasound -lrt
84+
LDFLAGS += -lasound -lrt -lsndio
8585
# Check PulseAudio installation
8686
ifeq (0, $(call check-pa))
8787
LDFLAGS += -lpulse

0 commit comments

Comments
 (0)