Commit febab8d9 authored by Thomas Petazzoni's avatar Thomas Petazzoni
Browse files

linknx: argp-standalone also needed with musl



The linknx package needs the argp functionality, which is provided
built-in by glibc, but not by uClibc and musl. In uClibc
configurations, it correctly selects the argp-standalone package to
compensate this, but forgets to do so in musl-based
configurations. This commit fixes that by selecting the
argp-standalone package.

Found by checking all packages having an argp-standalone
dependency. Note that this commit is not sufficient to make linknx
build properly with musl.

Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent 6a774f40
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
config BR2_PACKAGE_LINKNX
	bool "linknx"
	select BR2_PACKAGE_LIBPTHSEM
	select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC
	select BR2_PACKAGE_ARGP_STANDALONE \
	       if BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_MUSL
	depends on BR2_INSTALL_LIBSTDCPP
	depends on BR2_USE_MMU # libpthsem
	help