[javascriptlint-commit] SF.net SVN: javascriptlint:[289] trunk/setup.py
Status: Beta
Brought to you by:
matthiasmiller
|
From: <mat...@us...> - 2009-10-29 06:48:55
|
Revision: 289
http://javascriptlint.svn.sourceforge.net/javascriptlint/?rev=289&view=rev
Author: matthiasmiller
Date: 2009-10-29 06:48:30 +0000 (Thu, 29 Oct 2009)
Log Message:
-----------
Fix build on Linux.
Modified Paths:
--------------
trunk/setup.py
Modified: trunk/setup.py
===================================================================
--- trunk/setup.py 2009-10-26 02:46:37 UTC (rev 288)
+++ trunk/setup.py 2009-10-29 06:48:30 UTC (rev 289)
@@ -19,8 +19,11 @@
# First build SpiderMonkey. Force it to link statically against the CRT to
# make deployment easier.
+ if os.name == 'nt':
+ args.append('XCFLAGS=-MT')
+
ret = subprocess.call(['make', '-f', 'Makefile.ref', '-C',
- 'spidermonkey/src', 'XCFLAGS=-MT'] + args)
+ 'spidermonkey/src'] + args)
if ret != 0:
raise _BuildError, 'Error running make.'
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|