OSDN Git Service

This patch allows cross-compilation of elf2flt for MinGW hosts when a
[uclinux-h8/elf2flt.git] / Makefile.in
index 24dd96d..6917cf3 100644 (file)
@@ -20,9 +20,9 @@ DEFS = @DEFS@ -DTARGET_$(CPU)
 EXEEXT = @EXEEXT@
 OBJEXT = @OBJEXT@
 
-UNAME := $(shell uname -s)
+HOST = @host_alias@
 
-ifneq (,$(findstring MINGW,$(UNAME)))
+ifneq (,$(findstring mingw32,$(HOST)))
    LIBS :=  $(LIBS) -lws2_32
 endif