From 0e081d666ad6d43d3c62f24043462510413d752c Mon Sep 17 00:00:00 2001 From: Steffen Jaeckel Date: Fri, 14 Jul 2017 12:45:09 +0200 Subject: [PATCH] improve error message when using makefile on Mac OSX [skip ci] --- README.md | 2 +- makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0434f41..8814a10 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ There are several `makefile`s provided. Please choose the one that fits best for | makefile | use-case | | -------- | -------- | -| `makefile` | builds a static library (GNU Make required) | +| `makefile` | builds a static library (GNU Make required, broken on Mac OSX - use `makefile.unix` instead) | | `makefile.shared` | builds a shared (and static) library (GNU Make required) | | `makefile.unix` | for unusual UNIX platforms, or if you do not have GNU Make | | `makefile.mingw` | for usage with the mingw compiler on MS Windows | diff --git a/makefile b/makefile index 827722b..e6ca27a 100644 --- a/makefile +++ b/makefile @@ -17,7 +17,7 @@ PLATFORM := $(shell uname | sed -e 's/_.*//') ifneq ($(MAKECMDGOALS),clean) ifeq ($(PLATFORM), Darwin) -$(error Can't build static library on Mac, please use makefile.shared) +$(error Known to not work on Mac, please use makefile.unix for static libraries or makefile.shared for shared libraries) endif endif