Quellcode durchsuchen

do not remove bits/uClibc_ctype.h when !UCLIBC_HAS_CTYPE_TABLES

When building without locale support (i.e. only a stub) it is desireable
to be able to disable the table based ctypes and use the header only
implementation, but this file is deleted when UCLIBC_HAS_LOCALE is not on.

Fixes: b4a3345ea ("remove uClibc_ctype.h if !LOCALE")
Signed-off-by: Charles Mirabile <cmirabil@redhat.com>
Charles Mirabile vor 4 Wochen
Ursprung
Commit
b2b52d6a1c
1 geänderte Dateien mit 2 neuen und 0 gelöschten Zeilen
  1. 2 0
      Makefile.in

+ 2 - 0
Makefile.in

@@ -277,7 +277,9 @@ HEADERS_RM-$(UCLIBC_HAS_IPV6)                += netinet/ip6.h netinet/icmp6.h
 HEADERS_RM-$(UCLIBC_HAS_BACKTRACE)           += execinfo.h
 HEADERS_RM-$(UCLIBC_HAS_LIBICONV)            += iconv.h
 HEADERS_RM-$(UCLIBC_HAS_LIBINTL)             += libintl.h
+ifeq ($(UCLIBC_HAS_CTYPE_TABLES),y)
 HEADERS_RM-$(UCLIBC_HAS_LOCALE)              += bits/uClibc_ctype.h
+endif
 HEADERS_RM-$(UCLIBC_HAS_PTY)                 += pty.h
 HEADERS_RM-$(UCLIBC_HAS_REALTIME)            += mqueue.h bits/mqueue.h sched.h \
 	bits/sched.h \