From da90bd767160d43f977237c945337a4287f11bf0 Mon Sep 17 00:00:00 2001 From: "Yichun Zhang (agentzh)" Date: Thu, 21 Jan 2016 18:59:59 -0800 Subject: [PATCH] fixed the commands for Mac OS X (especially for El Capitan. --- util/dist-check | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/util/dist-check b/util/dist-check index 585c444..8f3cedc 100755 --- a/util/dist-check +++ b/util/dist-check @@ -46,8 +46,10 @@ if ($^O eq 'solaris') { } if ($^O eq 'darwin') { - $cfg_opts .= " --with-cc-opt='-I/usr/local/include'" - . " --with-ld-opt='-L/usr/local/lib'"; + $cfg_opts .= " --with-cc-opt='-I/usr/local/opt/openssl/include/ " + . "-I/usr/local/opt/pcre/include/'" + . " --with-ld-opt='-L/usr/local/opt/openssl/lib/ " + . "-L/usr/local/opt/pcre/lib/'"; } my $prefix;