Fix for Icon In dumb msys DIR (#111)
This commit is contained in:
parent
7bae2cbfe3
commit
730af8c267
6
Makefile
6
Makefile
|
@ -904,15 +904,17 @@ endif
|
||||||
#icon
|
#icon
|
||||||
ifeq ($(WINDOWS_BUILD),1)
|
ifeq ($(WINDOWS_BUILD),1)
|
||||||
ifeq ($(ICON),1)
|
ifeq ($(ICON),1)
|
||||||
Command := mkdir $(BUILD_DIR)/res
|
Command := mkdir -p "$(BUILD_DIR)/res"
|
||||||
Resp := $(shell $(call Command))
|
Resp := $(shell $(call Command))
|
||||||
|
|
||||||
Command := windres -o "$(BUILD_DIR)/res/icon.o" -i res/icon.rc
|
Command := windres -o "$(BUILD_DIR)/res/icon.o" -i "res/icon.rc"
|
||||||
Resp := $(shell $(call Command))
|
Resp := $(shell $(call Command))
|
||||||
|
|
||||||
|
ifeq ($(.SHELLSTATUS),0)
|
||||||
LDFLAGS += $(BUILD_DIR)/res/icon.o
|
LDFLAGS += $(BUILD_DIR)/res/icon.o
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
# Coop specific libraries
|
# Coop specific libraries
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue