summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/wine/Config.in15
1 files changed, 13 insertions, 2 deletions
diff --git a/package/wine/Config.in b/package/wine/Config.in
index 627a9a71f4..9de8cf0f6d 100644
--- a/package/wine/Config.in
+++ b/package/wine/Config.in
@@ -1,11 +1,18 @@
-config BR2_PACKAGE_WINE
- bool "wine"
+config BR2_PACKAGE_WINE_ARCH_SUPPORTS
+ bool
+ default y
# Wine only builds on certain architectures
depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" || \
BR2_HOSTARCH = "powerpc" || BR2_HOSTARCH = "arm" || \
BR2_HOSTARCH = "aarch64"
# Wine has much CPU specific code and mostly makes sense on x86
depends on BR2_i386
+
+config BR2_PACKAGE_WINE
+ bool "wine"
+ depends on BR2_PACKAGE_WINE_ARCH_SUPPORTS
+ # Wine unconditionally builds shared libraries
+ depends on !BR2_STATIC_LIBS
help
Wine is a compatibility layer capable of running Windows
applications on Linux. Instead of simulating internal
@@ -15,3 +22,7 @@ config BR2_PACKAGE_WINE
methods.
http://www.winehq.org
+
+comment "wine needs a toolchain w/ dynamic library"
+ depends on BR2_PACKAGE_WINE_ARCH_SUPPORTS
+ depends on BR2_STATIC_LIBS
OpenPOWER on IntegriCloud