mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-07 23:54:50 +00:00
Use mbedTLS with standard CA certificate location (Closes: #927889)
Specify mbedTLS for https for both builds and pass in the standard certificate location since it otherwise fails to set a certificate path if openssl and ca-certificates are not installed at build time.
This commit is contained in:
parent
bcd6925ae8
commit
1f5366ed75
3
debian/rules
vendored
3
debian/rules
vendored
@ -18,6 +18,8 @@ override_dh_auto_configure:
|
||||
dh_auto_configure --builddirectory=build-debian-release -- \
|
||||
-DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \
|
||||
-DUSE_OPENSSL:BOOL=OFF \
|
||||
-DUSE_HTTPS=mbedTLS \
|
||||
-DCERT_LOCATION=/etc/ssl/certs/ca-certificates.crt \
|
||||
-DUSE_CURL_SSL:BOOL=ON \
|
||||
-DUSE_GSSAPI:BOOL=ON \
|
||||
-DTHREADSAFE:BOOL=ON \
|
||||
@ -28,6 +30,7 @@ override_dh_auto_configure:
|
||||
-DCMAKE_BUILD_TYPE:STRING=Release \
|
||||
-DTHREADSAFE:BOOL=ON \
|
||||
-DUSE_HTTPS=mbedTLS \
|
||||
-DCERT_LOCATION=/etc/ssl/certs/ca-certificates.crt \
|
||||
-DUSE_CURL_SSL:BOOL=ON \
|
||||
-DUSE_GSSAPI:BOOL=ON \
|
||||
-DBUILD_CLAR:BOOL=OFF \
|
||||
|
Loading…
Reference in New Issue
Block a user