mpd: link against libpthread under glibc

Fixes compilation.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2020-02-26 20:25:44 -08:00
parent 635c30b8a4
commit 2b0b0ab7f5
No known key found for this signature in database
GPG Key ID: 36D31CFA845F0E3B
1 changed files with 4 additions and 1 deletions

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 \