package/argp-standalone: is useless for (e)glibc toolchains
authorRomain Naour <romain.naour@openwide.fr>
Sat, 2 May 2015 10:28:06 +0000 (12:28 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 3 May 2015 17:19:25 +0000 (19:19 +0200)
According to Thomas's remark [1], (e)glibc toolchains provide it's
own argp.h version.
Also, it appears that argp.h from glibc is more up to date should
be preferred to argp-standalone one.

[1] http://lists.busybox.net/pipermail/buildroot/2015-May/127511.html

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/argp-standalone/Config.in

index 5a0c0515343c71a01aacd9c742e3f7bafb94675d..3319dd945ce2e04c83154350b03c139863d2fe7c 100644 (file)
@@ -1,5 +1,7 @@
 config BR2_PACKAGE_ARGP_STANDALONE
        bool "argp-standalone"
+       # glibc provides its own argp implementation.
+       depends on !BR2_TOOLCHAIN_USES_GLIBC
        help
          Glibc hierarchical argument parsing standalone library.