diff --git a/PCbuild9/_ssl.vcproj b/PCbuild9/_ssl.vcproj index de329956c92..ddd396ae5ca 100644 --- a/PCbuild9/_ssl.vcproj +++ b/PCbuild9/_ssl.vcproj @@ -27,7 +27,7 @@ > "+makefile) + if debug: + print("OpenSSL debug builds aren't supported.") + #if arch=="x86" and debug: + # # the do_masm script in openssl doesn't generate a debug + # # build makefile so we generate it here: + # os.system("perl util\mk1mf.pl debug "+configure+" >"+makefile) - if arch == "amd64": - fix_makefile(makefile, m32) + if arch == "amd64": + create_makefile64(makefile, m32) + fix_makefile(makefile) + shutil.copy(r"crypto\buildinf.h", r"crypto\buildinf_%s.h" % arch) + shutil.copy(r"crypto\opensslconf.h", r"crypto\opensslconf_%s.h" % arch) # Now run make. - makeCommand = "nmake /nologo PERL=\"%s\" -f \"%s\"" %(perl, makefile) + if arch == "amd64": + rc = os.system(r"ml64 -c -Foms\uptable.obj ms\uptable.asm") + if rc: + print("ml64 assembler has failed.") + sys.exit(rc) + + shutil.copy(r"crypto\buildinf_%s.h" % arch, r"crypto\buildinf.h") + shutil.copy(r"crypto\opensslconf_%s.h" % arch, r"crypto\opensslconf.h") + + #makeCommand = "nmake /nologo PERL=\"%s\" -f \"%s\"" %(perl, makefile) + makeCommand = "nmake /nologo -f \"%s\"" % makefile print("Executing ssl makefiles:", makeCommand) sys.stdout.flush() rc = os.system(makeCommand) diff --git a/PCbuild9/pginstrument.vsprops b/PCbuild9/pginstrument.vsprops index 1b08c5d5527..cd904d3f4c2 100644 --- a/PCbuild9/pginstrument.vsprops +++ b/PCbuild9/pginstrument.vsprops @@ -8,10 +8,21 @@ > + diff --git a/PCbuild9/pyd_d.vsprops b/PCbuild9/pyd_d.vsprops index 3113381daa4..ea9041794cd 100644 --- a/PCbuild9/pyd_d.vsprops +++ b/PCbuild9/pyd_d.vsprops @@ -24,4 +24,8 @@ Name="VCPostBuildEventTool" CommandLine="" /> +