mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
strlcat and strlcpy have been added to glibc 2.38. update the defines to use the glibc versions, and not conflict with string.h. ref: - https://sourceware.org/git/?p=glibc.git;a=commit;h=454a20c8756c9c1d55419153255fc7692b3d2199
28 lines
923 B
Makefile
28 lines
923 B
Makefile
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
|
|
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
PKG_NAME="libdnet"
|
|
PKG_VERSION="1.14"
|
|
PKG_SHA256="592599c54a57102a177270f3a2caabda2c2ac7768b977d7458feba97da923dfe"
|
|
PKG_LICENSE="BSD"
|
|
PKG_SITE="https://github.com/ofalk/libdnet"
|
|
PKG_URL="https://github.com/ofalk/libdnet/archive/${PKG_NAME}-${PKG_VERSION}.tar.gz"
|
|
PKG_DEPENDS_TARGET="toolchain"
|
|
PKG_LONGDESC="A simplified, portable interface to several low-level networking routines"
|
|
PKG_TOOLCHAIN="autotools"
|
|
PKG_BUILD_FLAGS="+pic"
|
|
|
|
PKG_CONFIGURE_OPTS_TARGET="--enable-static \
|
|
--disable-shared \
|
|
--disable-python"
|
|
|
|
pre_configure_target() {
|
|
export CFLAGS+=" -I${PKG_BUILD}/include"
|
|
}
|
|
|
|
post_makeinstall_target() {
|
|
cp ${SYSROOT_PREFIX}/usr/bin/dnet-config \
|
|
${TOOLCHAIN}/bin/dnet-config
|
|
}
|