--- meson.build.orig 2019-01-23 02:00:20.000000000 +0000 +++ meson.build 2019-01-23 02:25:30.000000000 +0000 @@ -298,14 +298,7 @@ # We expect these libs to supplied with the distribution curl_dep = dependency('libcurl', version: '>=7.19.0') -if (osdet == 'darwin' and not get_option('nix') and - run_command('test', '-d', '/usr/local/opt/openssl/lib').returncode() == 0) - libcrypto = cc.find_library('crypto', dirs: [ '/usr/local/opt/openssl/lib/' ]) - libssl = cc.find_library('ssl', dirs: [ '/usr/local/opt/openssl/lib/' ]) - openssl_dep = declare_dependency(dependencies: [libcrypto, libssl], include_directories: include_directories('/usr/local/opt/openssl/include')) -else - openssl_dep = dependency('openssl', version: '>=1.0.0') -endif +openssl_dep = dependency('openssl', version: '>=1.0.0') if(legacy_meson) gmp_dep = find_library('gmp') --- subprojects/libh2o/meson.build.orig 2019-01-23 02:00:20.000000000 +0000 +++ subprojects/libh2o/meson.build 2019-01-23 02:25:30.000000000 +0000 @@ -137,16 +137,7 @@ endif -if osdet == 'darwin' - libcrypto = cc.find_library('crypto', dirs: ['/usr/local/opt/openssl/lib/']) - libssl = cc.find_library('ssl', dirs: ['/usr/local/opt/openssl/lib/']) - openssl_dep = declare_dependency( - dependencies: [libcrypto, libssl], - include_directories: include_directories('/usr/local/opt/openssl/include') - ) -else - openssl_dep = dependency('openssl', version: '>=1.0.0') -endif +openssl_dep = dependency('openssl', version: '>=1.0.0') lib = static_library('h2o', sources: lib_src, version: version, install: false, include_directories: inc,