From: Vincent Bernat Date: Mon, 25 May 2015 17:33:32 +0000 (+0200) Subject: osx: in README.md, add `--without-json` X-Git-Tag: 0.7.16~30 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2cbd5b62759b700b81a32a858d206313d4c0e8cd;p=thirdparty%2Flldpd.git 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. --- 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"