1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-07-29 15:41:13 +03:00

Fix MingW build

Fixes bug #324857:

https://bugzilla.gnome.org/show_bug.cgi?id=324857
This commit is contained in:
Nick Wellnhofer
2016-04-30 21:00:41 +02:00
parent 1e0a2313f8
commit 52e26315b5
2 changed files with 7 additions and 3 deletions

View File

@ -8,7 +8,9 @@ from subprocess import Popen, PIPE
xsltproc = path.join(os.getcwd(), "win32", "bin.msvc", "xsltproc.exe")
if not path.isfile(xsltproc):
raise FileNotFoundError(xsltproc)
xsltproc = path.join(os.getcwd(), "win32", "bin.mingw", "xsltproc.exe")
if not path.isfile(xsltproc):
raise FileNotFoundError(xsltproc)
def runtests(xsl_dir, xml_dir="."):
old_dir = os.getcwd()