X-Git-Url: http://git.openwrt.org/?p=feed%2Ftelephony.git;a=blobdiff_plain;f=net%2Fchan-sccp-b%2FMakefile;h=fcb04e300ed66d460325783055cfc2242fd15952;hp=1961af8b9c5fbaceae6d5c851de6da97b757ef8e;hb=da51da8c91477587d4700d239f06dc9ac4a966bf;hpb=0835ad378be725ca84998a5866a119023c48618a diff --git a/net/chan-sccp-b/Makefile b/net/chan-sccp-b/Makefile index 1961af8..fcb04e3 100644 --- a/net/chan-sccp-b/Makefile +++ b/net/chan-sccp-b/Makefile @@ -30,13 +30,21 @@ PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSI include $(INCLUDE_DIR)/package.mk +# musl and glibc include their own iconv, but uclibc does not +ifneq ($(CONFIG_USE_UCLIBC),) +TARGET_CPPFLAGS+= \ + -I$(STAGING_DIR)/usr/lib/libiconv-full/include +TARGET_LDFLAGS+= \ + -L$(STAGING_DIR)/usr/lib/libiconv-full/lib -liconv +endif + define Package/chan-sccp-b/Default SUBMENU:=Telephony SECTION:=net CATEGORY:=Network TITLE:=SCCP channel provider support URL:=http://chan-sccp-b.sourceforge.net/ - DEPENDS:=+libltdl + DEPENDS:=+USE_UCLIBC:libiconv-full +libltdl PKG_BUILD_DEPENDS:=libiconv endef