]> granicus.if.org Git - yasm/commitdiff
* setup.py: strip() opts["srcdir"] to unbreak distcheck.
authorPeter Johnson <peter@tortall.net>
Wed, 5 Apr 2006 05:36:06 +0000 (05:36 -0000)
committerPeter Johnson <peter@tortall.net>
Wed, 5 Apr 2006 05:36:06 +0000 (05:36 -0000)
svn path=/trunk/yasm/; revision=1462

tools/python-yasm/setup.py

index c6afc0c88aac07d5530e76714710fbdebda37848..ffc0e0c0d916e1f3bdcaa2e8688334b546d1ec85 100644 (file)
@@ -81,7 +81,7 @@ def RunSetup(incldir, cppflags, sources):
 if __name__ == "__main__":
     opts = ReadSetup("python-setup.txt")
     incldir, cppflags = ParseCPPFlags(opts["includes"])
-    sources = ParseSources(opts["sources"], opts["srcdir"])
+    sources = ParseSources(opts["sources"], opts["srcdir"].strip())
     sources.append('yasm_python.c')
     if opts["gcc"].strip() == "yes":
         cppflags.append('-w')