Browse Source

ustr: not available for static-only configurations

ustr now unconditionally builds a shared library, so we have to mark
it as not available for static-only builds. The only reverse
dependencies of ustr is libsemanage, which was anyway already not
available for pure static builds.

Fixes:

  http://autobuild.buildroot.org/results/734/734975f6ac041e8aece07205c0b8966fe51e7df1/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni 9 years ago
parent
commit
9ac65b37bd
1 changed files with 5 additions and 0 deletions
  1. 5 0
      package/ustr/Config.in

+ 5 - 0
package/ustr/Config.in

@@ -1,6 +1,11 @@
 config BR2_PACKAGE_USTR
 config BR2_PACKAGE_USTR
 	bool "ustr"
 	bool "ustr"
+	# unconditionally builds a shared library
+	depends on !BR2_STATIC_LIBS
 	help
 	help
 	  A small, safe string library.
 	  A small, safe string library.
 
 
 	  http://www.and.org/ustr/
 	  http://www.and.org/ustr/
+
+comment "ustr needs a toolchain w/ dynamic library"
+	depends on BR2_STATIC_LIBS