在Visual Studio中从源wtih链接选项“完整性检查”构建OpenSSL



当我从源构建openssl 1.1.0时,我想将" IntegrityCheck"作为命令行参数添加为命令行参数。我该怎么做?

非常感谢

如果您阅读了"安装"源附带的文本文件您可以找到此选项:

var = value

               Assignment of environment variable for Configure.  These
               work just like normal environment variable assignments,
               but are supported on all platforms and are confined to
               the configuration scripts only.  These assignments override
               the corresponding value in the inherited environment, if
               there is one.
               The following variables are used as "make variables" and
               can be used as an alternative to giving preprocessor,
               compiler and linker options directly as configuration.
               The following variables are supported:
               LDFLAGS         Flags for the shared library, DSO and
                               program linker.

因此,对于Windows,您需要运行configure脚本类似:

perl配置VC-Win32 ldflags =&quort; qualtigityCheck&quot'

(我不确定开关的确切语法要通过,因此可能需要删除'/')

然后运行正常的nmake构建它。

相关内容

  • 没有找到相关文章

最新更新