summaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-07-20 13:07:38 -0400
committerAustin Foxley <austinf@cetoncorp.com>2009-08-19 12:41:42 -0700
commit44896253aab05ab2d41143337761859250f0cea4 (patch)
tree3a050522d17e7605441d929ee7004e76b0415e45 /Makefile.in
parent42cbeb20c9018104fcd05d37e28173cbb944cd79 (diff)
downloaduClibc-alpine-44896253aab05ab2d41143337761859250f0cea4.tar.bz2
uClibc-alpine-44896253aab05ab2d41143337761859250f0cea4.tar.xz
add a wchar.h stub
The basic C standard requires a few wchar types, so provide those even when wchar support is disabled. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index 25de0e340..ec1c384cf 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -292,6 +292,11 @@ install_headers: headers $(top_builddir)extra/scripts/unifdef
echo '/* Dont use _syscall#() macros; use the syscall() function */' > \
$(PREFIX)$(DEVEL_PREFIX)include/bits/syscalls.h
cd $(PREFIX)$(DEVEL_PREFIX)include && $(RM) -r $(HEADERS_RM-)
+ifeq ($(UCLIBC_HAS_WCHAR),)
+ cd $(PREFIX)$(DEVEL_PREFIX)include && mv -f wchar-stub.h wchar.h
+else
+ cd $(PREFIX)$(DEVEL_PREFIX)include && $(RM) -f wchar-stub.h
+endif
# Installs development library links.
install_dev: install_headers all