diff options
author | Guy Harris <guy@alum.mit.edu> | 2011-07-15 23:26:22 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2011-07-15 23:26:22 +0000 |
commit | 9659cc77e8f60e02f9c16e8339493b5059911e59 (patch) | |
tree | 0069311f9495e926810238cc049e35e7507204d9 /macosx-setup.sh | |
parent | e6a964dc628d4136d42255a5d12b1237331391c5 (diff) |
Patch GnuTLS's pkg-config file; it says "requires zlib", but OS X, while
it supplies zlib, doesn't supply a pkgconfig file for it, so we don't
want it to say "requires zlib".
This script is part of the Wireshark source, so giving "download
Wireshark source" as the next step doesn't make sense.
svn path=/trunk/; revision=38055
Diffstat (limited to 'macosx-setup.sh')
-rwxr-xr-x | macosx-setup.sh | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/macosx-setup.sh b/macosx-setup.sh index b75cb596d7..b062535156 100755 --- a/macosx-setup.sh +++ b/macosx-setup.sh @@ -277,6 +277,14 @@ then # ./configure --with-libgcrypt || exit 1 make -j 3 || exit 1 + # + # The pkgconfig file for GnuTLS says "requires zlib", but OS X, + # while it supplies zlib, doesn't supply a pkgconfig file for + # it. + # + # Patch the GnuTLS pkgconfig file not to require zlib. + # + patch -p0 lib/gnutls.pc <../../macosx-support-lib-patches/gnutls-pkgconfig.patch || exit 1 $DO_MAKE_INSTALL || exit 1 cd .. fi @@ -319,7 +327,6 @@ fi echo "" echo "You are now prepared to build Wireshark. To do so do:" -echo "Download Wireshark source" echo "./autogen.sh" echo "./configure" echo "make -j 3" |