mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-01 07:27:43 +00:00
package/elfutils: fix build with musl-fts
Drop second patch and renumber the rest. Add explicit dependency on musl-fts and link with it. Fixes: - http://autobuild.buildroot.org/results/3f20ae917fde9d95eb061b779a5992db91355a57 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
parent
bc35688239
commit
99ce85cdb8
File diff suppressed because it is too large
Load Diff
@ -10,6 +10,7 @@ config BR2_PACKAGE_ELFUTILS
|
|||||||
depends on BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC
|
depends on BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC
|
||||||
select BR2_PACKAGE_ZLIB
|
select BR2_PACKAGE_ZLIB
|
||||||
select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC
|
select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC
|
||||||
|
select BR2_PACKAGE_MUSL_FTS if !BR2_TOOLCHAIN_USES_GLIBC
|
||||||
help
|
help
|
||||||
Libraries/utilities to handle ELF objects (drop in
|
Libraries/utilities to handle ELF objects (drop in
|
||||||
replacement for libelf).
|
replacement for libelf).
|
||||||
|
@ -43,6 +43,11 @@ ELFUTILS_CONF_ENV += \
|
|||||||
ELFUTILS_LDFLAGS = $(TARGET_LDFLAGS) \
|
ELFUTILS_LDFLAGS = $(TARGET_LDFLAGS) \
|
||||||
$(TARGET_NLS_LIBS)
|
$(TARGET_NLS_LIBS)
|
||||||
|
|
||||||
|
ifeq ($(BR2_TOOLCHAIN_USES_GLIBC),)
|
||||||
|
ELFUTILS_DEPENDENCIES += musl-fts
|
||||||
|
ELFUTILS_LDFLAGS += -lfts
|
||||||
|
endif
|
||||||
|
|
||||||
ELFUTILS_CONF_ENV += \
|
ELFUTILS_CONF_ENV += \
|
||||||
LDFLAGS="$(ELFUTILS_LDFLAGS)"
|
LDFLAGS="$(ELFUTILS_LDFLAGS)"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user