Skip to content

Commit b787450

Browse files
committed
[build] Fix libcurl for typos and correct name of build target
1 parent 233dfb5 commit b787450

File tree

1 file changed

+3
-3
lines changed
  • utils/swift_build_support/swift_build_support/products

1 file changed

+3
-3
lines changed

utils/swift_build_support/swift_build_support/products/curl.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,13 +114,13 @@ def build(self, host_target):
114114
self.cmake_options.define('ENABLE_UNIX_SOCKETS', 'NO')
115115
self.cmake_options.define('ENABLE_THREADED_RESOLVER', 'NO')
116116
self.cmake_options.define('USE_ECH', 'NO')
117-
self.cmake_options.deifne('USE_HTTPSRR', 'NO')
118-
self.cmake_options.deifne('USE_OPENSSL_QUIC', 'NO')
117+
self.cmake_options.define('USE_HTTPSRR', 'NO')
118+
self.cmake_options.define('USE_OPENSSL_QUIC', 'NO')
119119

120120
self.generate_toolchain_file_for_darwin_or_linux(host_target)
121121

122122
if self.args.build_zlib:
123123
# If we're building zlib, make cmake search in the built toolchain
124124
toolchain_path = self.host_install_destdir(host_target)
125125
self.cmake_options.define('CMAKE_FIND_ROOT_PATH', toolchain_path)
126-
self.build_with_cmake(['libcurl'], self.args.curl_build_variant, [])
126+
self.build_with_cmake(['libcurl.a'], self.args.curl_build_variant, [])

0 commit comments

Comments
 (0)