cygwinのndk-buildでNULファイルができる
どうにかできないかな?
cygwinのbashで消せば消える。
rm ./NUL
ndk-buildでNULファイルができるのは、
build/core/init.mkファイルを修正すると治る。
~/android-ndk-r7/build/core --- init.mk.org 2012-02-21 16:31:27.756223600 +0900 +++ init.mk 2012-02-21 16:32:00.638104300 +0900 @@ -140,7 +140,7 @@ ifeq ($(HOST_OS),windows) ifneq (,$(strip $(wildcard /bin/uname.exe))) $(call ndk_log,Found /bin/uname.exe on Windows host, checking for Cygwin) - UNAME := $(shell /bin/uname.exe -s 2>NUL) + UNAME := $(shell /bin/uname.exe -s 2>/dev/null) <==ここ $(call ndk_log,uname -s returned: $(UNAME)) ifneq (,$(filter CYGWIN%,$(UNAME))) $(call ndk_log,Cygwin detected!)