mpd: link against libpthread under glibc
Fixes compilation. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
635c30b8a4
commit
2b0b0ab7f5
1 changed files with 4 additions and 1 deletions
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue