Commit b4ab9053 authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf

win32: fix the cygpath test under msys2

The command after the && is not executed when the '-' prefix is there.
All other test failures in the Makefile are using the if/then/fi logic.
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <>
parent f4802990
......@@ -63,7 +63,9 @@ endif
# The shared DLLs may not necessarily be in the first LIBRARY_PATH, we
# should check them all.
-library_path_list=`$(CXX) -v /dev/null 2>&1 | grep ^LIBRARY_PATH|cut -d= -f2` ;\
-cygpath --version >/dev/null 2>/dev/null && library_path_list="`cygpath -p $$library_path_list`" ;\
if cygpath --version >/dev/null 2>/dev/null; then \
library_path_list="`cygpath -p $$library_path_list`" ;\
fi; \
IFS=':' ;\
for x in $$library_path_list ;\
do \
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment