11project (
22 ' c-ares' ,
33 ' c' ,
4- version : ' 1.34.5 ' ,
4+ version : ' 1.34.6 ' ,
55 license : ' MIT' ,
6- meson_version : ' >=0.54 .0' ,
6+ meson_version : ' >=0.56 .0' ,
77)
88
99# don't forget to update mee too
1010# see: https://github.com/c-ares/c-ares/blob/f1bf69c2d71a7e426ee967847173200a3ef1705a/CMakeLists.txt#L33
11- libtool_version = ' 2.19.4'
12- libtool_soversion = ' 2'
11+ libtool_version = ' 2.19.5'
1312
1413is_static = (get_option (' default_library' ) == ' static' )
1514is_windows = (host_machine .system() == ' windows' )
1615
1716cc = meson .get_compiler(' c' )
18- winsock_deps = (is_windows ? [
19- cc.find_library (' iphlpapi' ),
20- cc.find_library (' wininet' ),
21- cc.find_library (' ws2_32' ),
22- ] : []
17+ winsock_deps = (
18+ is_windows ? [
19+ cc.find_library (' iphlpapi' ),
20+ cc.find_library (' wininet' ),
21+ cc.find_library (' ws2_32' ),
22+ ] : []
2323)
2424
2525cares_dependencies = [winsock_deps]
@@ -141,42 +141,42 @@ cares_include_dirs = include_directories(
141141)
142142
143143has_header_options = {
144- ' HAVE_ARPA_INET_H' : cc.has_header(' arpa/inet.h' ),
145- ' HAVE_AVAILABILITYMACROS_H' : cc.has_header(' AvailabilityMacros.h' ),
144+ ' HAVE_ARPA_INET_H' : cc.has_header(' arpa/inet.h' ),
145+ ' HAVE_AVAILABILITYMACROS_H' : cc.has_header(' AvailabilityMacros.h' ),
146146 ' HAVE_ERRNO_H' : cc.has_header(' errno.h' ),
147- ' HAVE_FCNTL_H' : cc.has_header(' fcntl.h' ),
148- ' HAVE_IFADDRS_H' : cc.has_header(' ifaddrs.h' ),
149- ' HAVE_IPHLPAPI_H' : cc.has_header(' iphlpapi.h' ),
147+ ' HAVE_FCNTL_H' : cc.has_header(' fcntl.h' ),
148+ ' HAVE_IFADDRS_H' : cc.has_header(' ifaddrs.h' ),
149+ ' HAVE_IPHLPAPI_H' : cc.has_header(' iphlpapi.h' ),
150150 ' HAVE_LIMITS_H' : cc.has_header(' limits.h' ),
151151 ' HAVE_NETDB_H' : cc.has_header(' netdb.h' ),
152- ' HAVE_NETINET_IN_H' : cc.has_header(' netinet/in.h' ),
152+ ' HAVE_NETINET_IN_H' : cc.has_header(' netinet/in.h' ),
153153 ' HAVE_NETINET_TCP_H' : cc.has_header(' netinet/tcp.h' ),
154- ' HAVE_NETIOAPI_H' : cc.has_header(' netioapi.h' ),
154+ ' HAVE_NETIOAPI_H' : cc.has_header(' netioapi.h' ),
155155 ' HAVE_NET_IF_H' : cc.has_header(' net/if.h' ),
156- ' HAVE_POLL_H' : cc.has_header(' poll.h' ),
157- ' HAVE_RESOLV_H' : cc.has_header(' resolv.h' ),
156+ ' HAVE_POLL_H' : cc.has_header(' poll.h' ),
157+ ' HAVE_RESOLV_H' : cc.has_header(' resolv.h' ),
158158 ' HAVE_STDBOOL_H' : cc.has_header(' stdbool.h' ),
159159 ' HAVE_STDINT_H' : cc.has_header(' stdint.h' ),
160- ' HAVE_STRINGS_H' : cc.has_header(' strings.h' ),
161- ' HAVE_STRING_H' : cc.has_header(' string.h' ),
162- ' HAVE_SYS_EPOLL_H' : cc.has_header(' sys/epoll.h' ),
163- ' HAVE_SYS_EVENT_H' : cc.has_header(' sys/event.h' ),
164- ' HAVE_SYS_FILIO_H' : cc.has_header(' sys/filio.h' ),
165- ' HAVE_SYS_IOCTL_H' : cc.has_header(' sys/ioctl.h' ),
166- ' HAVE_SYS_PARAM_H' : cc.has_header(' sys/param.h' ),
167- ' HAVE_SYS_RANDOM_H' : cc.has_header(' sys/random.h' ),
168- ' HAVE_SYS_SOCKET_H' : cc.has_header(' sys/socket.h' ),
169- ' HAVE_SYS_STAT_H' : cc.has_header(' sys/stat.h' ),
170- ' HAVE_SYS_SYSTEM_PROPERTIES_H' : cc.has_header(' sys/system_properties.h' ),
171- ' HAVE_SYS_TIME_H' : cc.has_header(' sys/time.h' ),
172- ' HAVE_SYS_TYPES_H' : cc.has_header(' sys/types.h' ),
173- ' HAVE_SYS_UIO_H' : cc.has_header(' sys/uio.h' ),
174- ' HAVE_TCP_H' : cc.has_header(' tcp.h' ),
175- ' HAVE_TIME_H' : cc.has_header(' time.h' ),
176- ' HAVE_UNISTD_H' : cc.has_header(' unistd.h' ),
177- ' HAVE_WINDOWS_H' : cc.has_header(' windows.h' ),
178- ' HAVE_WINSOCK2_H' : cc.has_header(' winsock2.h' ),
179- ' HAVE_WS2IPDEF_H' : cc.has_header(' ws2ipdef.h' ),
160+ ' HAVE_STRINGS_H' : cc.has_header(' strings.h' ),
161+ ' HAVE_STRING_H' : cc.has_header(' string.h' ),
162+ ' HAVE_SYS_EPOLL_H' : cc.has_header(' sys/epoll.h' ),
163+ ' HAVE_SYS_EVENT_H' : cc.has_header(' sys/event.h' ),
164+ ' HAVE_SYS_FILIO_H' : cc.has_header(' sys/filio.h' ),
165+ ' HAVE_SYS_IOCTL_H' : cc.has_header(' sys/ioctl.h' ),
166+ ' HAVE_SYS_PARAM_H' : cc.has_header(' sys/param.h' ),
167+ ' HAVE_SYS_RANDOM_H' : cc.has_header(' sys/random.h' ),
168+ ' HAVE_SYS_SOCKET_H' : cc.has_header(' sys/socket.h' ),
169+ ' HAVE_SYS_STAT_H' : cc.has_header(' sys/stat.h' ),
170+ ' HAVE_SYS_SYSTEM_PROPERTIES_H' : cc.has_header(' sys/system_properties.h' ),
171+ ' HAVE_SYS_TIME_H' : cc.has_header(' sys/time.h' ),
172+ ' HAVE_SYS_TYPES_H' : cc.has_header(' sys/types.h' ),
173+ ' HAVE_SYS_UIO_H' : cc.has_header(' sys/uio.h' ),
174+ ' HAVE_TCP_H' : cc.has_header(' tcp.h' ),
175+ ' HAVE_TIME_H' : cc.has_header(' time.h' ),
176+ ' HAVE_UNISTD_H' : cc.has_header(' unistd.h' ),
177+ ' HAVE_WINDOWS_H' : cc.has_header(' windows.h' ),
178+ ' HAVE_WINSOCK2_H' : cc.has_header(' winsock2.h' ),
179+ ' HAVE_WS2IPDEF_H' : cc.has_header(' ws2ipdef.h' ),
180180}
181181
182182header_options = {
@@ -185,7 +185,10 @@ header_options = {
185185 ' HAVE_PIPE2' : cc.has_header_symbol(' unistd.h' , ' pipe2' ),
186186 ' HAVE_KQUEUE' : cc.has_header_symbol(' sys/event.h' , ' kqueue' ),
187187 ' HAVE_EPOLL' : cc.has_header_symbol(' sys/epoll.h' , ' epoll_create1' ),
188- ' TIME_WITH_SYS_TIME' : (cc.has_header(' sys/time.h' ) and cc.has_header(' time.h' )),
188+ ' TIME_WITH_SYS_TIME' : (
189+ cc.has_header(' sys/time.h' )
190+ and cc.has_header(' time.h' )
191+ ),
189192 ' HAVE_FCNTL_O_NONBLOCK' : cc.has_header_symbol(' fcntl.h' , ' O_NONBLOCK' ),
190193 ' HAVE_STRNCASECMP' : cc.has_header_symbol(' string.h' , ' strncasecmp' ),
191194 ' HAVE_STRCASECMP' : cc.has_header_symbol(' string.h' , ' strcasecmp' ),
@@ -329,7 +332,6 @@ libcares = library(
329332 ],
330333 install : true ,
331334 version : libtool_version,
332- soversion : libtool_soversion,
333335 kwargs : libcares_kwargs,
334336)
335337
0 commit comments