summaryrefslogtreecommitdiff
path: root/libc/misc/locale/Makefile
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-10-28 16:20:18 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-10-28 16:20:18 +0000
commitd2e1267b014a06611f994ec980377bbc0fbbd56a (patch)
tree5db3c3cb2fdac04ef335eb6b2ff453fca8d03d13 /libc/misc/locale/Makefile
parent5eef441142b5e70daab13c0edf378f36209280ed (diff)
Correct building locales and backport the changes
Diffstat (limited to 'libc/misc/locale/Makefile')
-rw-r--r--libc/misc/locale/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/libc/misc/locale/Makefile b/libc/misc/locale/Makefile
index 7b8b35ac3..296d04dcf 100644
--- a/libc/misc/locale/Makefile
+++ b/libc/misc/locale/Makefile
@@ -57,11 +57,10 @@ $(MOBJ): $(MSRC)
$(MOBJx): $(MSRC)
$(CC) $(CFLAGS) -DL_$* -D__UCLIBC_DO_XLOCALE $< -c -o $*.o
-locale_data.o:
- $(LN) -sf ../../../extra/locale/locale_data.c
- $(CC) $(CFLAGS) -c -D__WCHAR_ENABLED -I../../../extra/locale locale_data.c -o $@
+locale_data.o: ../../../extra/locale/locale_data.c
+ $(CC) $(CFLAGS) -c -D__WCHAR_ENABLED -I$(notdir $<) $< -o $@
clean:
- $(RM) *.o *~ core locale_data.c
+ $(RM) *.o *~ core
.PHONY: data