]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
linknx: argp-standalone also needed with musl
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 22 Jan 2016 09:07:26 +0000 (10:07 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 22 Jan 2016 09:08:29 +0000 (10:08 +0100)
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: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/linknx/Config.in

index 9982f3159d5f5a56973643caf55d543b8d015307..36838fed6c0f78f764808a0bd73e1ee629bbc74d 100644 (file)
@@ -1,7 +1,8 @@
 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