mirror of
https://github.com/lwthiker/curl-impersonate.git
synced 2026-09-11 11:15:54 +00:00
Disable extraneous linking in released binaries
Libraries present on the CI runner system might affect the released binaries. Specifically, the MacOS runner in GitHub has librtsp, libidn2 and zstd installed, which makes curl link against them. Explicitly disable these linking, as we want to keep the precompiled binaries in our releases with minimal requirements. A user wishing to use these specific features can build from source on a system with these libraries present.
This commit is contained in:
@@ -105,7 +105,8 @@ jobs:
|
||||
if: matrix.arch == 'x86_64'
|
||||
run: |
|
||||
mkdir ${{ runner.temp }}/install
|
||||
./configure --prefix=${{ runner.temp }}/install
|
||||
./configure --prefix=${{ runner.temp }}/install \
|
||||
CURL_CONFIG_FLAGS="--disable-rtsp --without-libidn2 --without-zstd"
|
||||
|
||||
# When cross compiling a more complicated configuration is needed, since
|
||||
# curl's configure script can't figure out where some files and libraries
|
||||
|
||||
Reference in New Issue
Block a user