summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mdk-stage1/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdk-stage1/Makefile b/mdk-stage1/Makefile
index a1736a626..880ec717f 100644
--- a/mdk-stage1/Makefile
+++ b/mdk-stage1/Makefile
@@ -81,7 +81,7 @@ FRONTEND_LINK = $(FRONTEND_OBJS) $($(F)_FRONTEND_LIBS)
STAGE1_OWN_LIBS =
ifeq (DIETLIBC, $(L))
-STAGE1_OWN_LIBS = /usr/$(LIB)/libz-diet.a
+STAGE1_OWN_LIBS = /usr/lib/dietlibc/lib-$(ARCH)/libz.a
else
STAGE1_OWN_LIBS = /usr/$(LIB)/libz.a
endif