Skip to content

Commit f911e18

Browse files
committed
Fix create-pa
1 parent 87c2566 commit f911e18

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ ifeq ($(call has, VIRTIOSND), 1)
7575
# so that the other libraries will be benefited for no need to set
7676
# -lm separately.
7777
LDFLAGS += $(PORTAUDIOLIB) -lasound -lpthread -lrt
78-
ifneq (0, $(call check-pa))
78+
ifeq (1, $(call check-pa))
7979
LDFLAGS += -lpulse
8080
endif
8181
CFLAGS += -Iportaudio/include

mk/check-libs.mk

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ endef
1313
# Create a mininal PulseAudio program
1414
define create-pa-prog
1515
echo '\
16-
#include <pulseaudio/pulseaudio.h>\n\
16+
#include <pulse/pulseaudio.h>\n\
1717
int main(){\n\
18-
pa_mainloop *m = NULL;\n\
19-
ma_mainloop_free(m);\n\
20-
return 0;\n\
18+
pa_mainloop *m = NULL;\n\
19+
pa_mainloop_free(m);\n\
20+
return 0;\n\
2121
}\n'
2222
endef
2323

0 commit comments

Comments
 (0)