ifeq ($(HAVE_ID3TAG),1)
mpd_LDFLAGS += -lid3tag -lz
endif
ifeq ($(HAVE_ICONV),1)
ifeq ($(NEED_LIBICONV),1)
mpd_LDFLAGS += -liconv
ifeq ($(HAVE_IPV6),1)
ifeq ($(HAVE_LANGINFO_CODESET),1)
mpd_LDFLAGS += -lpthread