mpd: link against libpthread under glibc

Fixes compilation.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 2b0b0ab7f5)
This commit is contained in:
Rosen Penev 2020-02-26 20:25:44 -08:00
parent 10ddb21781
commit eda73f9279

View file

@ -97,7 +97,10 @@ define Package/mpd-avahi-service/conffiles
/etc/avahi/services/mpd.service
endef
EXTRA_LDFLAGS += $(if $(ICONV_FULL),-liconv,-Wl,--whole-archive -liconv -Wl,--no-whole-archive) -Wl,-rpath-link=$(STAGING_DIR)/usr/lib/pulseaudio
TARGET_LDFLAGS += \
$(if $(ICONV_FULL),-liconv,-Wl,--whole-archive -liconv -Wl,--no-whole-archive) \
$(if $(CONFIG_USE_GLIBC),-lpthread) \
-Wl,-rpath-link=$(STAGING_DIR)/usr/lib/pulseaudio
MESON_ARGS += \
-Ddocumentation=false \