]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - utils.py
compiles on OSX (10.4.10 Intel)
[xonotic/netradiant.git] / utils.py
index 440a152456e31c0510249e4e80dc0ca319bee50f..f88389527e0a9c3a8dbb9dc58a05e59a8904b6a4 100644 (file)
--- a/utils.py
+++ b/utils.py
@@ -3,7 +3,7 @@
 # TTimo <ttimo@idsoftware.com>\r
 # http://scons.sourceforge.net\r
 \r
-import os, commands, platform, xml.sax, re, string\r
+import os, commands, platform, xml.sax, re, string, platform\r
 \r
 class vcproj( xml.sax.handler.ContentHandler ):\r
        def __init__( self, filepath ):\r
@@ -46,6 +46,9 @@ class vcproj( xml.sax.handler.ContentHandler ):
 # action uses LDD to verify that the source doesn't hold unresolved symbols\r
 # setup as an AddPostAction of a regular SharedLibrary call\r
 def CheckUnresolved( source, target, env ):\r
+       # TODO: implement this for OSX\r
+       if ( platform.system() == 'Darwin' ):\r
+               return None\r
        print 'CheckUnresolved %s' % target[0].abspath\r
        if ( not os.path.isfile( target[0].abspath ) ):\r
                print 'CheckUnresolved: %s does not exist' % target[0]\r