Content-Type: text/plain; charset="utf-8" In-Reply-To: References: Content-Transfer-Encoding: binary Message-ID: MIME-Version: 1.0 X-RT-Original-Encoding: utf-8 X-RT-Interface: Web X-Mailer: MIME-tools 5.508 (Entity 5.508) Content-Disposition: inline RT-Send-CC: Content-Length: 603 On Thu Dec 14 06:30:12 2017, marka wrote: > On Wed Dec 13 19:54:54 2017, ondrej wrote: > > Or we can use pkg-config like it's 2017... > > > > $ pkg-config --libs zlib > > -lz > > $ pkg-config --cflags zlib > > $ > > Which doesn't exist in the MacOS. > > Now if you install macports (and presumably home-brew) it does but > that doesn't give you the native instance. So doesn't libjson nor libxml nor openssl >= 1.0 (it's either openssl 0.9.8 or libressl on High Sierra). And pkg-config is very lightweight in terms of dependencies - only libc is really required as it uses internal glib on Mac OS X.