diff --git a/README.md b/README.md index 4243cfe..50e6b87 100644 --- a/README.md +++ b/README.md @@ -50,9 +50,9 @@ brew install make pkg-config # You may need to setup your pkg-config to point to the brew version of the libraries # For example to build curses backend, you'd do: -PKG_CONFIG_PATH="/usr/local/opt/ncurses/lib/pkgconfig" gmake curses +PKG_CONFIG_PATH="/usr/local/opt/ncurses/lib/pkgconfig" sh build-osx.sh curses -# Other than that, follow the normal build steps, but use gmake instead of make +# Other than that, follow the normal build steps, but use `build-osx.sh` instead of make ``` ## Dependencies diff --git a/build-osx.sh b/build-osx.sh new file mode 100644 index 0000000..4f10ed8 --- /dev/null +++ b/build-osx.sh @@ -0,0 +1,3 @@ +#!/bin/sh +sed 's/-soname/-install_name/' GNUmakefile > GNUmakefile.osx +gmake -f GNUmakefile.osx "$@"