Browse Source

mpd: link against libpthread under glibc

Fixes compilation.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
lilik-openwrt-22.03
Rosen Penev 5 years ago
parent
commit
2b0b0ab7f5
No known key found for this signature in database GPG Key ID: 36D31CFA845F0E3B
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      sound/mpd/Makefile

+ 4
- 1
sound/mpd/Makefile 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 \


Loading…
Cancel
Save