Nmap Development mailing list archives
[PATCH] Static linking of bit.dll against MS C Runtime Library
From: jah <jah () zadkiel plus com>
Date: Sun, 01 Jun 2008 23:42:34 +0100
Hi all,
The attached patch (nse_bitlib.vcproj.patch) changes the compiler
options in nse_bitlib.vcproj for both debug and release configurations
to use the multithread, static version of the runtime library.
This would prevent errors for users without a runtime:
SCRIPT ENGINE: error while initializing script rules:
error loading module 'bit' from file 'C:\Program
Files\Nmap\nselib-bin/bit.dll':
system error 14001
(Dependent Assembly Microsoft.VC80.CRT could not be found and Last Error
was The referenced assembly is not installed on your system.)
Regards,
jah
--- nse_bitlib.vcproj.orig Sat May 3 21:23:23 2008
+++ nse_bitlib.vcproj Sun Jun 1 23:24:49 2008
@@ -44,7 +44,7 @@
MinimalRebuild="false"
ExceptionHandling="0"
BasicRuntimeChecks="0"
- RuntimeLibrary="3"
+ RuntimeLibrary="1"
UsePrecompiledHeader="0"
WarningLevel="2"
Detect64BitPortabilityProblems="true"
@@ -121,7 +121,7 @@
Name="VCCLCompilerTool"
AdditionalIncludeDirectories="..\liblua"
PreprocessorDefinitions="WIN32;_WINDOWS;_USRDLL;NSE_BITLIB_EXPORTS;WIN32;LUA_BUILD_AS_DLL;LUA_LIB"
- RuntimeLibrary="2"
+ RuntimeLibrary="0"
UsePrecompiledHeader="0"
WarningLevel="3"
Detect64BitPortabilityProblems="true"
_______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://SecLists.Org
Current thread:
- [PATCH] Static linking of bit.dll against MS C Runtime Library jah (Jun 01)
