chan-sccp-b: fix uclibc build
uclibc doesn't include iconv, so we need to use libiconv-full. This fixes the ARC builds as they still default to uclibc. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
This commit is contained in:
parent
0835ad378b
commit
da51da8c91
1 changed files with 9 additions and 1 deletions
|
@ -30,13 +30,21 @@ PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSI
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
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
|
define Package/chan-sccp-b/Default
|
||||||
SUBMENU:=Telephony
|
SUBMENU:=Telephony
|
||||||
SECTION:=net
|
SECTION:=net
|
||||||
CATEGORY:=Network
|
CATEGORY:=Network
|
||||||
TITLE:=SCCP channel provider support
|
TITLE:=SCCP channel provider support
|
||||||
URL:=http://chan-sccp-b.sourceforge.net/
|
URL:=http://chan-sccp-b.sourceforge.net/
|
||||||
DEPENDS:=+libltdl
|
DEPENDS:=+USE_UCLIBC:libiconv-full +libltdl
|
||||||
PKG_BUILD_DEPENDS:=libiconv
|
PKG_BUILD_DEPENDS:=libiconv
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue