From 4fa7ed9388f3ca81d97cad2099a6f9fa9f8098de Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 11 Dec 2016 16:56:19 +0100 Subject: add libiconv-tiny implementation To use it enable UCLIBC_HAS_LIBICONV, then iconv_open/iconv_close should be available. --- Makerules | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'Makerules') diff --git a/Makerules b/Makerules index d7086006a..b5dc4b45b 100644 --- a/Makerules +++ b/Makerules @@ -46,15 +46,18 @@ $(eval $(call add_IS_IN_lib,librt,$(librt-a-y) $(librt-so-y))) $(eval $(call add_IS_IN_lib,libutil,$(libutil-a-y) $(libutil-so-y))) $(eval $(call add_IS_IN_lib,libubacktrace,$(libubacktrace-a-y) $(libubacktrace-so-y))) $(eval $(call add_IS_IN_lib,libuargp,$(libuargp-a-y) $(libuargp-so-y))) +$(eval $(call add_IS_IN_lib,libiconv,$(libiconv-a-y) $(libiconv-so-y))) shared_objs = $(libc-y:.o=.os) $(libc-shared-y) $(libc-nonshared-y) \ $(libcrypt-so-y) $(libdl-so-y) $(libm-so-y) \ $(libpthread-so-y) $(libpthread-nonshared-y) $(libthread_db-so-y) \ - $(librt-so-y) $(ldso-y) $(libutil-so-y) $(libubacktrace-so-y) $(libuargp-so-y) + $(librt-so-y) $(ldso-y) $(libutil-so-y) $(libubacktrace-so-y) \ + $(libuargp-so-y) $(libiconv-so-y) ar_objs = $(libc-y) $(libc-static-y) $(libcrypt-a-y) \ $(libdl-a-y) $(libm-a-y) $(libpthread-a-y) $(libthread_db-a-y) \ - $(librt-a-y) $(libutil-a-y) $(libubacktrace-a-y) $(libuargp-a-y) + $(librt-a-y) $(libutil-a-y) $(libubacktrace-a-y) $(libuargp-a-y) \ + $(libiconv-a-y) ifeq ($(DOPIC),y) ar_objs := $(ar_objs:.o=.os) endif @@ -472,9 +475,12 @@ files.dep := $(libc-a-y) $(libc-so-y) $(libc-nonshared-y) \ $(START_FILE-libpthread.so) $(END_FILE-libpthread.so) \ $(PTHREAD_INITFINI:.c=.s) \ $(librt-a-y) $(librt-so-y) \ - $(libcrypt-a-y) $(libcrypt-so-y) $(libutil-a-y) $(libutil-so-y) \ + $(libcrypt-a-y) $(libcrypt-so-y) \ + $(libutil-a-y) $(libutil-so-y) \ $(ldso-y) $(libdl-a-y) $(libdl-so-y) \ - $(libubacktrace-a-y) $(libubacktrace-so-y) $(libuargp-so-y) $(libuargp-a-y) + $(libubacktrace-a-y) $(libubacktrace-so-y) \ + $(libuargp-so-y) $(libuargp-a-y) \ + $(libiconv-so-y) $(libiconv-a-y) .depends.dep := \ $(patsubst %.s,%.s.dep,$(filter %.s,$(files.dep))) \ $(patsubst %.o,%.o.dep,$(filter %.o,$(files.dep))) \ -- cgit v1.2.3