Commit acac68a5 authored by POTTIER Francois's avatar POTTIER Francois
Browse files

Makefile: use egrep -E to test for Win32|Win64.

Should fix the previous code, which was perhaps broken.
parent 02ea25a7
......@@ -76,7 +76,7 @@ endif
# performed if "os_type" is "Win32" or "Win64", and must not be performed if
# "os_type" is "Cygwin" or "Unix".
ifneq (,$(findstring "os_type: Win", "$(shell ocamlc -config | grep os_type)"))
ifneq (,$(shell ocamlc -config | grep -E "os_type: (Win32|Win64)"))
installation_libdir := $(shell cygpath -m $(libdir))
else
installation_libdir := $(libdir)
......
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