add MSYS_NO_PATHCONV=1 to prevent MSYS auto-magic
commit3c54cb2a9d731d8315f32ad8a4ced2a8d6b508de
authorChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Tue, 11 Jul 2023 13:15:18 +0000 (11 15:15 +0200)
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Fri, 26 Apr 2024 12:00:35 +0000 (26 14:00 +0200)
tree3af476a3c269963446abbe45859e5070d4b4de8c
parent0d822662ed178a6f45e25e5c1dde9b486796b404
add MSYS_NO_PATHCONV=1 to prevent MSYS auto-magic

git-bash/MSYS tries to resolve anything that looks like a path (i.e.
anything starting with a /) - if the "target" doesn't exists, it just
prepends the MSYS installation dir and breaks all kind of stuff.
You could escape those with double-slash at the beginning, but that
would mean lots of noise/unnecessary changes in pretty much every
makefile, so just getting rid of that behavior is much better.

ant and some externals however rely on MSYS path-conversion, so unset
MSYS_NO_PATHCONV for those. Ant does its own checks whether it
runs under cygwin or msys, and easier to please externals using the
autoconversion than to add patches to force them into compliance…

Change-Id: Ie80964e40c53ace80adb4707aae0db63ebc4ee4c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166330
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
23 files changed:
config_host.mk.in
external/beanshell/ExternalProject_beanshell.mk
external/hsqldb/ExternalProject_hsqldb.mk
external/java_websocket/ExternalProject_java_websocket.mk
external/jfreereport/ExternalProject_jfreereport_flow_engine.mk
external/jfreereport/ExternalProject_jfreereport_flute.mk
external/jfreereport/ExternalProject_jfreereport_libbase.mk
external/jfreereport/ExternalProject_jfreereport_libfonts.mk
external/jfreereport/ExternalProject_jfreereport_libformula.mk
external/jfreereport/ExternalProject_jfreereport_liblayout.mk
external/jfreereport/ExternalProject_jfreereport_libloader.mk
external/jfreereport/ExternalProject_jfreereport_librepository.mk
external/jfreereport/ExternalProject_jfreereport_libserializer.mk
external/jfreereport/ExternalProject_jfreereport_libxml.mk
external/jfreereport/ExternalProject_jfreereport_sac.mk
external/libcdr/ExternalProject_libcdr.mk
external/libebook/ExternalProject_libebook.mk
external/libepubgen/ExternalProject_libepubgen.mk
external/libfreehand/ExternalProject_libfreehand.mk
external/liblangtag/ExternalProject_liblangtag.mk
external/libqxp/ExternalProject_libqxp.mk
external/libvisio/ExternalProject_libvisio.mk
external/libzmf/ExternalProject_libzmf.mk