We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 746f89c commit f26f174Copy full SHA for f26f174
mk/check-libs.mk
@@ -13,10 +13,9 @@ endef
13
# Create a mininal PulseAudio program
14
define create-pa-prog
15
echo '\
16
-#include <pulse/pulseaudio.h>\n\
+#include <pulse/mainloop.h>\n\
17
int main(){\n\
18
- pa_mainloop *m = NULL;\n\
19
- pa_mainloop_free(m);\n\
+ pa_mainloop *m;\n\
20
return 0;\n\
21
}\n'
22
endef
@@ -41,8 +40,7 @@ endef
41
40
42
# Check PulseAudio installation
43
define check-pa
44
-$(shell $(call create-pa-prog) | $(CC) -x c -lpulse -o /dev/null
45
- && echo 1 || echo 0)
+$(shell $(call create-pa-prog) | $(CC) -x c -lpulse -o /dev/null - && echo 0 || echo 1)
46
47
48
# Check CoreAudio installation
0 commit comments