[packages] make libintl and libiconv stub/full implementations switchable, use the new include/nls.mk infrastructure for it

git-svn-id: svn://svn.openwrt.org/openwrt/packages@25319 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jow
2011-02-02 18:54:24 +00:00
parent c6e2eec288
commit d3a7097b71
65 changed files with 189 additions and 275 deletions

View File

@ -19,17 +19,12 @@ PKG_FIXUP:=libtool
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/nls.mk
$(call include_mk, python-package.mk)
TARGET_CFLAGS += \
-I$(STAGING_DIR)/usr/lib/libintl/include \
-I$(STAGING_DIR)/usr/lib/libiconv/include
TARGET_LDFLAGS += \
-Wl,-rpath=$(STAGING_DIR)/usr/lib \
-L$(STAGING_DIR)/usr/lib/libintl/lib \
-L$(STAGING_DIR)/usr/lib/libiconv/lib
-Wl,-rpath=$(STAGING_DIR)/usr/lib
define Package/dbus-python
SUBMENU:=Python