@ -161,8 +161,8 @@ TARGET_LIB_DIR = $(TARGET_DIR)/lib
TARGET_INCLUDE_DIR = $(TARGET_DIR)/include
# ca-certificates
CA_BUNDLE = ca-certificates.crt
CA_BUNDLE_DIR = /etc/ssl/certs
CA-BUNDLE = ca-certificates.crt
CA-BUNDLE_DIR = /etc/ssl/certs
# create debug image
DEBUG ?= no
@ -447,7 +447,7 @@ $(D)/gnutls: $(D)/nettle $(D)/ca-bundle $(ARCHIVE)/$(GNUTLS_SOURCE)
--enable-local-libopts \
--with-libpthread-prefix=$(TARGET_DIR) \
--with-included-unistring \
--with-default-trust-store-dir=$(CA_BUNDLE_DIR)/ \
--with-default-trust-store-dir=$(CA-BUNDLE_DIR)/ \
--disable-guile \
--disable-doc \
--without-p11-kit \
@ -147,7 +147,7 @@ $(D)/libcurl: $(D)/zlib $(D)/openssl $(D)/librtmp $(D)/ca-bundle $(ARCHIVE)/curl
--disable-ntlm-wb \
--disable-ares \
--without-libidn \
--with-ca-bundle=$(CA_BUNDLE_DIR)/$(CA_BUNDLE) \
--with-ca-bundle=$(CA-BUNDLE_DIR)/$(CA-BUNDLE) \
--with-random=/dev/urandom \
--with-ssl=$(TARGET_DIR) \
--with-librtmp=$(TARGET_DIR)/lib \
@ -1243,5 +1243,5 @@ $(D)/popt: $(ARCHIVE)/$(POPT_SOURCE) | $(TARGET_DIR)
# -----------------------------------------------------------------------------
$(D)/ca-bundle: $(ARCHIVE)/cacert.pem | $(TARGET_DIR)
install -D -m 644 $(ARCHIVE)/cacert.pem $(TARGET_DIR)/$(CA_BUNDLE_DIR)/$(CA_BUNDLE)
install -D -m 644 $(ARCHIVE)/cacert.pem $(TARGET_DIR)/$(CA-BUNDLE_DIR)/$(CA-BUNDLE)
$(TOUCH)