|
From: <al...@us...> - 2006-11-08 17:45:54
|
Revision: 564
http://svn.sourceforge.net/xml-cppdom/?rev=564&view=rev
Author: allenb
Date: 2006-11-08 09:45:49 -0800 (Wed, 08 Nov 2006)
Log Message:
-----------
- Protect check of MSVS_VERSION
Modified Paths:
--------------
trunk/cppdom/SConscript
Modified: trunk/cppdom/SConscript
===================================================================
--- trunk/cppdom/SConscript 2006-11-08 16:05:43 UTC (rev 563)
+++ trunk/cppdom/SConscript 2006-11-08 17:45:49 UTC (rev 564)
@@ -35,7 +35,7 @@
if "shared" in combo["libtype"]:
shlinkcom = cppdom_lib_env['SHLINKCOM']
# When using Visual C++ 8.0 or newer, embed the manifest in the DLL.
- if float(cppdom_lib_env['MSVS_VERSION']) >= 8.0:
+ if cppdom_lib_env.has_key('MSVS_VERSION') and float(cppdom_lib_env['MSVS_VERSION']) >= 8.0:
shlinkcom = [shlinkcom,
'mt.exe -manifest ${TARGET}.manifest -outputresource:$TARGET;2']
cppdom_lib = cppdom_lib_env.SharedLibrary(cppdom_shared_libname, sources,
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|