![Thomas Petazzoni](/assets/img/avatar_default.png)
The patch added in commit c78b65c4f1
was
bogus: it adds some code conditionally on HAVE_CANONICALIZE_FILE_NAME
being undefined, but there is nothing that defines
HAVE_CANONICALIZE_FILE_NAME if canonicalize_file_name() is already
provided by the C library.
This commit fixes that by adding the appropriate autoconf check.
Fixes:
http://autobuild.buildroot.net/results/4f0eb2af09c92ff4cd7448211ffda432754d4e60/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
22 lines
677 B
Makefile
22 lines
677 B
Makefile
################################################################################
|
|
#
|
|
# libqmi
|
|
#
|
|
################################################################################
|
|
|
|
LIBQMI_VERSION = 1.18.0
|
|
LIBQMI_SITE = http://www.freedesktop.org/software/libqmi
|
|
LIBQMI_SOURCE = libqmi-$(LIBQMI_VERSION).tar.xz
|
|
LIBQMI_LICENSE = LGPL-2.0+ (library), GPL-2.0+ (programs)
|
|
LIBQMI_LICENSE_FILES = COPYING
|
|
LIBQMI_INSTALL_STAGING = YES
|
|
# 0001-musl-compat-canonicalize_file_name.patch
|
|
LIBQMI_AUTORECONF = YES
|
|
|
|
LIBQMI_DEPENDENCIES = libglib2
|
|
|
|
# we don't want -Werror and disable gudev Gobject bindings
|
|
LIBQMI_CONF_OPTS = --enable-more-warnings=no --without-udev
|
|
|
|
$(eval $(autotools-package))
|