chiark / gitweb /
[PATCH] Udev doesn't properly build with $CROSS
[elogind.git] / Makefile
index b04321ff4e44a10b0dbbb9e37c144c32d4a00019..665f75a29ee28070592b6874efc8b3954a0453e4 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -174,7 +174,7 @@ endif
 # link udev against it statically. Otherwise, use glibc and link dynamically.
 ifeq ($(strip $(USE_KLIBC)),true)
        KLIBC_INSTALL   = $(PWD)/klibc/.install
-       KLCC            = $(KLIBC_INSTALL)/bin/klcc
+       KLCC            = $(KLIBC_INSTALL)/bin/$(CROSS)klcc
        CC              = $(KLCC)
        LD              = $(KLCC)
 else