c31087182f
Release notes: https://github.com/ebiggers/libdeflate/blob/master/NEWS.md Switch to cmake. Added CFLAGS to fix uClibc build: /home/bernd/buildroot/output/build/libdeflate-1.15/programs/gzip.c:367:10: error: 'const struct stat' has no member named 'st_atim'; did you mean 'st_atime'? /home/bernd/buildroot/output/build/libdeflate-1.15/programs/gzip.c:367:26: error: 'const struct stat' has no member named 'st_mtim'; did you mean 'st_mtime'? Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
16 lines
480 B
Makefile
16 lines
480 B
Makefile
################################################################################
|
|
#
|
|
# libdeflate
|
|
#
|
|
################################################################################
|
|
|
|
LIBDEFLATE_VERSION = 1.15
|
|
LIBDEFLATE_SITE = $(call github,ebiggers,libdeflate,v$(LIBDEFLATE_VERSION))
|
|
LIBDEFLATE_LICENSE = MIT
|
|
LIBDEFLATE_LICENSE_FILES = COPYING
|
|
LIBDEFLATE_INSTALL_STAGING = YES
|
|
LIBDEFLATE_CONF_OPTS = \
|
|
-DCMAKE_C_FLAGS="$(TARGET_CFLAGS) -D_DEFAULT_SOURCE"
|
|
|
|
$(eval $(cmake-package))
|