From 2cbd5b62759b700b81a32a858d206313d4c0e8cd Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Mon, 25 May 2015 19:33:32 +0200 Subject: [PATCH] osx: in README.md, add `--without-json` Otherwise, we may try to link to a library present through homebrew and the package won't be portable. --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ae36ff68..25d67287 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,8 @@ simpler alternatives: directory): mkdir build && cd build - ../configure --prefix=/usr --localstatedir=/var --sysconfdir=/private/etc --with-embedded-libevent + ../configure --prefix=/usr --localstatedir=/var --sysconfdir=/private/etc --with-embedded-libevent \ + --without-json --without-snmp make -C osx pkg ARCHS="i386 x86_64" If you want to compile for an older version of Mac OS X, you need @@ -82,6 +83,7 @@ simpler alternatives: SDK=/Developer/SDKs/MacOSX10.6.sdk mkdir build && cd build ../configure --prefix=/usr --localstatedir=/var --sysconfdir=/private/etc --with-embedded-libevent \ + --without-json --without-snmp CFLAGS="-mmacosx-version-min=10.6 -isysroot $SDK" \ LDFLAGS="-mmacosx-version-min=10.6 -isysroot $SDK" make -C osx pkg ARCHS="i386 x86_64" -- 2.39.5