422ce6536b
A C library will have been built by the toolchain makefiles, so there is no need for packages to explicitly depend on uclibc. Signed-off-by: Will Newton <will.newton@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
26 lines
829 B
Makefile
26 lines
829 B
Makefile
#############################################################
|
|
#
|
|
# libiconv
|
|
#
|
|
#############################################################
|
|
LIBICONV_VERSION = 1.12
|
|
LIBICONV_SOURCE = libiconv-$(LIBICONV_VERSION).tar.gz
|
|
LIBICONV_SITE = $(BR2_GNU_MIRROR)/libiconv
|
|
LIBICONV_AUTORECONF = NO
|
|
LIBICONV_INSTALL_STAGING = YES
|
|
LIBICONV_INSTALL_TARGET = YES
|
|
|
|
LIBICONV_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install
|
|
|
|
$(eval $(call AUTOTARGETS,package,libiconv))
|
|
|
|
$(LIBICONV_HOOK_POST_INSTALL):
|
|
# Remove not used preloadable libiconv.so
|
|
rm -f $(STAGING_DIR)/usr/lib/preloadable_libiconv.so
|
|
rm -f $(TARGET_DIR)/usr/lib/preloadable_libiconv.so
|
|
ifneq ($(BR2_ENABLE_DEBUG),y)
|
|
$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libiconv.so.*
|
|
$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libcharset.so.*
|
|
endif
|
|
touch $@
|