summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 9a7c59d..9623534 100644
--- a/Makefile
+++ b/Makefile
@@ -476,6 +476,8 @@ xgcc-finish:
cat $(XGCC_INST_DIR)/lib/gcc/$(XGCC_TARGET64)/$(VERSION_GCC)/specs \
$(SOURCE_DIR)/gcc.msvcr110.spec > \
$(XGCC_INST_DIR)/lib/gcc/$(XGCC_TARGET64)/$(VERSION_GCC)/msvcr110
+ cd $(XGCC_INST_DIR)/x86_64-w64-mingw32/include && \
+ ln -s windows.h Windows.h
xgcc-gdb:
rm -rf $(BUILD_DIR)/gdb && mkdir -p $(BUILD_DIR)/gdb
@@ -757,9 +759,11 @@ wingcc-finish:
$(SOURCE_DIR)/gcc.msvcr110.spec > \
$(WINGCC_INST_DIR)/lib/gcc/$(XGCC_TARGET64)/$(VERSION_GCC)/msvcr110
cd $(WINGCC_INST_DIR)/lib/gcc/$(XGCC_TARGET64)/$(VERSION_GCC) && \
- ln -s ../../lib/libgcc_s.a
+ cp -f ../../lib/libgcc_s.a .
cd $(WINGCC_INST_DIR)/lib/gcc/$(XGCC_TARGET64)/$(VERSION_GCC)/32 && \
- ln -s ../../lib32/libgcc_s.a
+ cp -f ../../lib32/libgcc_s.a .
+ cd $(XGCC_INST_DIR)/x86_64-w64-mingw32/include && \
+ cp -f windows.h Windows.h
wingcc-reimp:
rm -Rf $(BUILD_DIR)/reimp