Browse Source

package/crun: allow building with uClibc

uClibc now provides fexecve(), so crun can build just fine with
uClibc. However, argp-standalone is needed, just like it was needed
for musl.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Reviewed-by: Christian Stewart <christian@aperture.us>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Thomas Petazzoni 2 years ago
parent
commit
223596c75d
1 changed files with 1 additions and 2 deletions
  1. 1 2
      package/crun/Config.in

+ 1 - 2
package/crun/Config.in

@@ -1,8 +1,7 @@
 config BR2_PACKAGE_CRUN
 config BR2_PACKAGE_CRUN
 	bool "crun"
 	bool "crun"
-	depends on !BR2_TOOLCHAIN_USES_UCLIBC # no fexecve
 	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C11/stdatomic.h
 	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C11/stdatomic.h
-	select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_MUSL
+	select BR2_PACKAGE_ARGP_STANDALONE if !BR2_TOOLCHAIN_USES_GLIBC
 	select BR2_PACKAGE_YAJL # libocispec
 	select BR2_PACKAGE_YAJL # libocispec
 	help
 	help
 	  crun is a fast and low-memory OCI Container Runtime in C.
 	  crun is a fast and low-memory OCI Container Runtime in C.