subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhuij...@apache.org
Subject svn commit: r1506473 - /subversion/trunk/build/generator/gen_win.py
Date Wed, 24 Jul 2013 09:49:38 GMT
Author: rhuijben
Date: Wed Jul 24 09:49:38 2013
New Revision: 1506473

URL: http://svn.apache.org/r1506473
Log:
* build/generator/gen_win.py
  (get_win_includes): Following up on r1505131, don't translate the cxxhl
    include path twice.

Modified:
    subversion/trunk/build/generator/gen_win.py

Modified: subversion/trunk/build/generator/gen_win.py
URL: http://svn.apache.org/viewvc/subversion/trunk/build/generator/gen_win.py?rev=1506473&r1=1506472&r2=1506473&view=diff
==============================================================================
--- subversion/trunk/build/generator/gen_win.py (original)
+++ subversion/trunk/build/generator/gen_win.py Wed Jul 24 09:49:38 2013
@@ -795,8 +795,8 @@ class WinGeneratorBase(gen_win_dependenc
       fakeincludes.append(os.path.join(self.swig_libdir, lang_subdir))
       fakeincludes.append(self.swig_libdir)
 
-    if target.name.find('cxxhl') != -1:
-      fakeincludes.append(self.path("subversion/bindings/cxxhl/include"))
+    if target.name.contains('cxxhl'):
+      fakeincludes.append("subversion/bindings/cxxhl/include")
 
     return gen_base.unique(map(self.apath, fakeincludes))
 



Mime
View raw message