serf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhuij...@apache.org
Subject svn commit: r1701858 - /serf/trunk/SConstruct
Date Tue, 08 Sep 2015 19:26:33 GMT
Author: rhuijben
Date: Tue Sep  8 19:26:32 2015
New Revision: 1701858

URL: http://svn.apache.org/r1701858
Log:
* SConstruct
  Fix VPath build for Windows by finding gen_def.py properly.

Modified:
    serf/trunk/SConstruct

Modified: serf/trunk/SConstruct
URL: http://svn.apache.org/viewvc/serf/trunk/SConstruct?rev=1701858&r1=1701857&r2=1701858&view=diff
==============================================================================
--- serf/trunk/SConstruct (original)
+++ serf/trunk/SConstruct Tue Sep  8 19:26:32 2015
@@ -160,9 +160,11 @@ env = Environment(variables=opts,
                   CPPPATH=['.', ],
                   )
 
+gen_def_script = env.File('build/gen_def.py').rstr()
+
 env.Append(BUILDERS = {
     'GenDef' : 
-      Builder(action = sys.executable + ' build/gen_def.py $SOURCES > $TARGET',
+      Builder(action = sys.executable + ' %s $SOURCES > $TARGET' % (gen_def_script,),
               suffix='.def', src_suffix='.h')
   })
 



Mime
View raw message