]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
osx: in README.md, add `--without-json`
authorVincent Bernat <vincent@bernat.im>
Mon, 25 May 2015 17:33:32 +0000 (19:33 +0200)
committerVincent Bernat <vincent@bernat.im>
Mon, 25 May 2015 17:33:32 +0000 (19:33 +0200)
Otherwise, we may try to link to a library present through homebrew and
the package won't be portable.

README.md

index ae36ff68fd7b40b2bbc84537d455777c6263abc9..25d67287af2e27409fbb6733bb556abed42474f1 100644 (file)
--- 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"