From efe91bff6078fe98f902eece8cca1e0e0803f15f Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 16 Jul 2014 09:35:15 +0200 Subject: Work around MSYS path translation --- dist/examples/cxx/tree/custom/contacts/makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'dist/examples/cxx/tree/custom/contacts') diff --git a/dist/examples/cxx/tree/custom/contacts/makefile b/dist/examples/cxx/tree/custom/contacts/makefile index 8155d0e..845f6c3 100644 --- a/dist/examples/cxx/tree/custom/contacts/makefile +++ b/dist/examples/cxx/tree/custom/contacts/makefile @@ -4,9 +4,15 @@ include $(root)/build/cxx/rules.make include $(root)/build/xsd/tree-rules.make -override XSDFLAGS += --generate-inline --custom-type contact=/contact_base \ +override XSDFLAGS += --generate-inline \ --hxx-epilogue '\#include "contacts-custom.hxx"' +ifneq ($(shell uname -o),Msys) +override XSDFLAGS += --custom-type contact=/contact_base +else +# Prevent MSYS from converting / to Windows path. +override XSDFLAGS += --custom-type contact=//contact_base +endif # Build. # -- cgit v1.1