Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace c-ares with getdns #33317

Closed
wants to merge 8 commits into from
Closed
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ _UpgradeReport_Files/
/*.host.mk
/deps/openssl/openssl.target.mk
/deps/zlib/zlib.target.mk
/deps/getdns/build

# === Rules for release artifacts ===
/*.tar.*
Expand Down
44 changes: 44 additions & 0 deletions configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,48 @@
dest='shared_cares_libpath',
help='a directory to search for the shared cares DLL')

shared_optgroup.add_option('--shared-getdns',
action='store_true',
dest='shared_getdns',
help='link to a shared getdns DLL instead of static linking')

shared_optgroup.add_option('--shared-getdns-includes',
action='store',
dest='shared_getdns_includes',
help='directory containing getdns header files')

shared_optgroup.add_option('--shared-getdns-libname',
action='store',
dest='shared_getdns_libname',
default='getdns',
help='alternative lib name to link to [default: %default]')

shared_optgroup.add_option('--shared-getdns-libpath',
action='store',
dest='shared_getdns_libpath',
help='a directory to search for the shared getdns DLL')

shared_optgroup.add_option('--shared-getdns-ext-uv',
action='store_true',
dest='shared_getdns_ext_uv',
help='link to a shared getdns_ext_uv DLL instead of static linking')

shared_optgroup.add_option('--shared-getdns-ext-uv-includes',
action='store',
dest='shared_getdns_ext_uv_includes',
help='directory containing getdns_ext_uv header files')

shared_optgroup.add_option('--shared-getdns-ext-uv-libname',
action='store',
dest='shared_getdns_ext_uv_libname',
default='getdns_ext_uv',
help='alternative lib name to link to [default: %default]')

shared_optgroup.add_option('--shared-getdns-ext-uv-libpath',
action='store',
dest='shared_getdns_ext_uv_libpath',
help='a directory to search for the shared getdns_ext_uv DLL')

parser.add_option_group(shared_optgroup)

parser.add_option('--systemtap-includes',
Expand Down Expand Up @@ -1734,6 +1776,8 @@ def make_bin_override():
configure_library('brotli', output, pkgname=['libbrotlidec', 'libbrotlienc'])
configure_library('cares', output, pkgname='libcares')
configure_library('nghttp2', output, pkgname='libnghttp2')
configure_library('getdns', output)
configure_library('getdns_ext_uv', output)
configure_v8(output)
configure_openssl(output)
configure_intl(output)
Expand Down
Loading