--- meson.build.orig 2018-06-26 01:03:00.000000000 +0000 +++ meson.build 2018-06-26 01:03:30.000000000 +0000 @@ -280,13 +280,7 @@ # We expect these libs to supplied with the distribution curl_dep = dependency('libcurl', version: '>=7.35.0') -if osdet == 'darwin' - libcrypto = meson.get_compiler('c').find_library('crypto', dirs: [ '/usr/local/opt/openssl/lib/' ]) - libssl = meson.get_compiler('c').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 2018-06-26 01:09:00.000000000 +0000 +++ subprojects/libh2o/meson.build 2018-06-26 01:09:30.000000000 +0000 @@ -130,13 +130,7 @@ endif -if osdet == 'darwin' - libcrypto = meson.get_compiler('c').find_library('crypto', dirs: [ '/usr/local/opt/openssl/lib/' ]) - libssl = meson.get_compiler('c').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, include_directories: inc,