fixed the commands for Mac OS X (especially for El Capitan.

This commit is contained in:
Yichun Zhang (agentzh) 2016-01-21 18:59:59 -08:00
parent 4a80309873
commit da90bd7671
1 changed files with 4 additions and 2 deletions

View File

@ -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;