mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
curl: enable libidn2, update configure
enable libidn2 usage (libidn deprecated and no longer available) polarssl renamed to mbedtls no complaints regarding clock_gettime Signed-off-by: Ian Leonard <antonlacon@gmail.com>
This commit is contained in:
parent
c92d648e1c
commit
b68a78b3ff
@ -16,7 +16,7 @@ PKG_SHA256="f6c22074877f235aebc7c53057dbc7ee82358f8ae58bfb767e955c18c859a77a"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="http://curl.haxx.se"
|
||||
PKG_URL="http://curl.haxx.se/download/$PKG_NAME-$PKG_VERSION.tar.xz"
|
||||
PKG_DEPENDS_TARGET="toolchain zlib gnutls rtmpdump nghttp2"
|
||||
PKG_DEPENDS_TARGET="toolchain zlib gnutls rtmpdump libidn2 nghttp2"
|
||||
PKG_LONGDESC="Client and library for (HTTP, HTTPS, FTP, ...) transfers."
|
||||
PKG_TOOLCHAIN="configure"
|
||||
|
||||
@ -65,23 +65,17 @@ PKG_CONFIGURE_OPTS_TARGET="ac_cv_lib_rtmp_RTMP_Init=yes \
|
||||
--with-random=/dev/urandom \
|
||||
--with-gnutls \
|
||||
--without-ssl \
|
||||
--without-polarssl \
|
||||
--without-mbedtls \
|
||||
--without-nss \
|
||||
--with-ca-bundle=/run/libreelec/cacert.pem \
|
||||
--without-ca-path \
|
||||
--without-libpsl \
|
||||
--without-libmetalink \
|
||||
--without-libssh2 \
|
||||
--with-librtmp=$SYSROOT_PREFIX/usr \
|
||||
--without-libidn \
|
||||
--without-libidn2 \
|
||||
--with-librtmp \
|
||||
--with-libidn2 \
|
||||
--with-nghttp2"
|
||||
|
||||
pre_configure_target() {
|
||||
# link against librt because of undefined reference to 'clock_gettime'
|
||||
export LIBS="-lrt -lm -lrtmp"
|
||||
}
|
||||
|
||||
post_makeinstall_target() {
|
||||
rm -rf $INSTALL/usr/share/zsh
|
||||
rm -rf $INSTALL/usr/bin/curl-config
|
||||
|
Loading…
x
Reference in New Issue
Block a user