summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libc/misc/locale/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/misc/locale/Makefile b/libc/misc/locale/Makefile
index 296d04dcf..9ad80ff5a 100644
--- a/libc/misc/locale/Makefile
+++ b/libc/misc/locale/Makefile
@@ -58,7 +58,7 @@ $(MOBJx): $(MSRC)
$(CC) $(CFLAGS) -DL_$* -D__UCLIBC_DO_XLOCALE $< -c -o $*.o
locale_data.o: ../../../extra/locale/locale_data.c
- $(CC) $(CFLAGS) -c -D__WCHAR_ENABLED -I$(notdir $<) $< -o $@
+ $(CC) $(CFLAGS) -c -D__WCHAR_ENABLED -I$(dir $<) $< -o $@
clean:
$(RM) *.o *~ core