Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Commit 9865257

Browse files
committed
curl: use existing configure command
1 parent 9b8ac9d commit 9865257

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

config/software/curl.rb

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@
3535

3636
# curl requires pkg-config that is shipped with the agent
3737
env = { "PATH" => "#{install_dir}/embedded/bin" + File::PATH_SEPARATOR + ENV["PATH"] }
38-
command ["./configure",
39-
"--prefix=#{install_dir}/embedded",
38+
configure_options = [
4039
"--disable-manual",
4140
"--disable-debug",
4241
"--enable-optimize",
@@ -53,7 +52,9 @@
5352
"--without-libssh2",
5453
"--with-ssl=#{install_dir}/embedded",
5554
"--with-zlib=#{install_dir}/embedded",
56-
"--with-nghttp2=#{install_dir}/embedded"].join(" "), env: env
55+
"--with-nghttp2=#{install_dir}/embedded",
56+
]
57+
configure(*configure_options, env: env)
5758

5859
command "make -j #{workers}", env: { "LD_RUN_PATH" => "#{install_dir}/embedded/lib" }
5960
command "make install"

0 commit comments

Comments
 (0)