e50431b208
The libelf is currently provided by 2 packages libelf and elfutils. The first package provides an old version of the libelf which is no more compatible with a recent version of ltrace. This patch removes the dependency on the libelf package and only keep the elfuils package which provides the accurate version of libelf for ltrace. It will also allow to remove the libelf package and to avoid conflicts with two packages providing the same library. Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
32 lines
923 B
Makefile
32 lines
923 B
Makefile
################################################################################
|
|
#
|
|
# ltrace
|
|
#
|
|
################################################################################
|
|
|
|
LTRACE_VERSION = 0896ce554f80afdcba81d9754f6104f863dea803
|
|
LTRACE_SITE = git://anonscm.debian.org/collab-maint/ltrace.git
|
|
LTRACE_DEPENDENCIES = elfutils
|
|
LTRACE_CONF_OPT = --disable-werror
|
|
LTRACE_LICENSE = GPLv2
|
|
LTRACE_LICENSE_FILES = COPYING
|
|
LTRACE_AUTORECONF = YES
|
|
|
|
define LTRACE_CREATE_CONFIG_M4
|
|
mkdir -p $(@D)/config/m4
|
|
endef
|
|
LTRACE_POST_PATCH_HOOKS += LTRACE_CREATE_CONFIG_M4
|
|
|
|
# ltrace can use libunwind only if libc has backtrace() support
|
|
# We don't normally do so for uClibc and we can't know if it's external
|
|
ifeq ($(BR2_PACKAGE_LIBUNWIND),y)
|
|
ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),)
|
|
LTRACE_CONF_OPT += --with-libunwind=yes
|
|
LTRACE_DEPENDENCIES += libunwind
|
|
else
|
|
LTRACE_CONF_OPT += --with-libunwind=no
|
|
endif
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|