aboutsummaryrefslogtreecommitdiffstats
path: root/win32/setup.mak
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-10-01 05:19:19 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-10-01 05:19:19 +0000
commit4e389756ec95c11df4fba273aaf4b7967596bb68 (patch)
treef8d32f49ec8f7c54b04475db9e66cc9128fd7e7e /win32/setup.mak
parentceca5abce0f3645eec52335c0ac4b46e43801f06 (diff)
downloadruby-4e389756ec95c11df4fba273aaf4b7967596bb68.tar.gz
* win32/{setup.mak,Makefile.sub,win32.c},include/ruby/win32.h (RT_VER):
split compiler specification and runtime library specification. * win32/Makefile.sub (LD_SHARED*, config.status): no need to embbed manifest if not exist. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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;
}