mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 07:51:59 -09:00
package/wine: needs NPTL
wine unconditionally uses pthread_attr_setstack resulting in the
following build failure without NPTL:
/home/buildroot/autobuild/instance-3/output-1/host/lib/gcc/i586-buildroot-linux-uclibc/11.3.0/../../../../i586-buildroot-linux-uclibc/bin/ld: dlls/ntdll/unix/thread.o: in function `NtCreateThreadEx':
thread.c:(.text+0x61b): undefined reference to `pthread_attr_setstack'
Fixes:
- http://autobuild.buildroot.org/results/a866d65cda97845a8c829acad2c057bab00cde08
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 14c093d258)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
fe8b3034da
commit
aaaaf7a1ee
@@ -13,6 +13,8 @@ config BR2_PACKAGE_WINE
|
||||
depends on BR2_PACKAGE_WINE_ARCH_SUPPORTS
|
||||
# Wine unconditionally builds shared libraries
|
||||
depends on !BR2_STATIC_LIBS
|
||||
# pthread_attr_setstack
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
||||
help
|
||||
Wine is a compatibility layer capable of running Windows
|
||||
applications on Linux. Instead of simulating internal
|
||||
@@ -23,6 +25,6 @@ config BR2_PACKAGE_WINE
|
||||
|
||||
http://www.winehq.org
|
||||
|
||||
comment "wine needs a toolchain w/ dynamic library"
|
||||
comment "wine needs a toolchain w/ dynamic library, NPTL"
|
||||
depends on BR2_PACKAGE_WINE_ARCH_SUPPORTS
|
||||
depends on BR2_STATIC_LIBS
|
||||
depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
||||
|
||||
Reference in New Issue
Block a user