]> git.tdb.fi Git - ext/subsurface.git/blobdiff - packaging/windows/mingw-make.sh
Fix mingw-make.sh to find correct xslt-config
[ext/subsurface.git] / packaging / windows / mingw-make.sh
index 79e7ad5ea4e286baddc5dd90b994d9db46b9f33f..ec1f6ccc74be98672e03f40389ce287aadc71f84 100755 (executable)
@@ -6,7 +6,9 @@
 # the paths work for the default mingw32 install on OpenSUSE - adjust as
 # necessary
 
+export PATH=/usr/i686-w64-mingw32/sys-root/mingw/bin:$PATH
 make CC=i686-w64-mingw32-gcc \
        PKGCONFIG=i686-w64-mingw32-pkg-config \
        PKG_CONFIG_PATH=/usr/i686-w64-mingw32/sys-root/i686-w64-mingw32/lib/pkgconfig/ \
+       XSLTCONFIG=/usr/i686-w64-mingw32/sys-root/mingw/bin/xslt-config \
        XML2CONFIG=/usr/i686-w64-mingw32/sys-root/mingw/bin/xml2-config NAME=subsurface.exe