From d2e1267b014a06611f994ec980377bbc0fbbd56a Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Fri, 28 Oct 2005 16:20:18 +0000 Subject: Correct building locales and backport the changes --- libc/misc/locale/Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'libc/misc/locale/Makefile') 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 -- cgit v1.2.3