summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/mplayer/mplayer.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/mplayer/mplayer.mk b/package/mplayer/mplayer.mk
index 07307cede2..8288dcb1ec 100644
--- a/package/mplayer/mplayer.mk
+++ b/package/mplayer/mplayer.mk
@@ -224,6 +224,12 @@ else
MPLAYER_CONF_OPTS += --disable-gif
endif
+# We intentionally don't pass --enable-pulse, to let the
+# autodetection find which library to link with.
+ifeq ($(BR2_PACKAGE_PULSEAUDIO),y)
+MPLAYER_DEPENDENCIES += pulseaudio
+endif
+
# We intentionally don't pass --enable-librtmp to let autodetection
# find which library to link with.
ifeq ($(BR2_PACKAGE_RTMPDUMP),y)
OpenPOWER on IntegriCloud