aboutsummaryrefslogtreecommitdiffstats
path: root/win32/setup.mak
diff options
context:
space:
mode:
Diffstat (limited to 'win32/setup.mak')
-rw-r--r--win32/setup.mak5
1 files changed, 4 insertions, 1 deletions
diff --git a/win32/setup.mak b/win32/setup.mak
index c900fe0d9f..3216ac70e9 100644
--- a/win32/setup.mak
+++ b/win32/setup.mak
@@ -73,12 +73,13 @@ BASERUBY = $(BASERUBY)
@echo TARGET_OS = mswin64 >>$(MAKEFILE)
-runtime-: nul
- @$(CC) -MD <<rtname.c user32.lib > nul
+ $(CC) -MD <<rtname.c user32.lib -link > nul
#include <windows.h>
#include <memory.h>
#include <string.h>
#include <stddef.h>
#include <stdio.h>
+#include <stdlib.h>
#ifndef MAXPATHLEN
# define MAXPATHLEN 1024
#endif
@@ -127,8 +128,10 @@ runtime_name()
}
else {
printf("PLATFORM = $$(TARGET_OS)\n");
+ ver = "60";
}
printf("RT = %s\n", base);
+ printf("RT_VER = %s\n", ver);
return 1;
}