diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2014-07-22 13:57:48 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2014-07-22 13:57:48 +0200 |
commit | 19a0faf4316a89e0a4ced32b8d3ea4b4ba9c3b18 (patch) | |
tree | d7185f95d41f2bf9434978d0efd9c063a3bb9cc7 /dist/examples/cxx/tree/custom/mixed/makefile | |
parent | 8ba873ae5481743c8588c00d2852e7595d727097 (diff) |
Make uname execution more robust
Mac OS X doesn't recognize the -o option
Diffstat (limited to 'dist/examples/cxx/tree/custom/mixed/makefile')
-rw-r--r-- | dist/examples/cxx/tree/custom/mixed/makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dist/examples/cxx/tree/custom/mixed/makefile b/dist/examples/cxx/tree/custom/mixed/makefile index c5dac63..9c7974d 100644 --- a/dist/examples/cxx/tree/custom/mixed/makefile +++ b/dist/examples/cxx/tree/custom/mixed/makefile @@ -7,7 +7,7 @@ include $(root)/build/xsd/tree-rules.make override XSDFLAGS += --generate-inline --generate-serialization \ --hxx-epilogue '\#include "people-custom.hxx"' -ifneq ($(shell uname -o),Msys) +ifneq ($(shell uname -o 2>&1),Msys) override XSDFLAGS += --custom-type bio=/bio_base else # Prevent MSYS from converting / to Windows path. |