summaryrefslogtreecommitdiffstats
path: root/package/physfs
diff options
context:
space:
mode:
authorRomain Naour <romain.naour@smile.fr>2018-01-19 14:59:29 +0100
committerPeter Korsgaard <peter@korsgaard.com>2018-01-27 11:22:33 +0100
commit53252f23b7011780daaf8185d8f0e2a7c5609dd9 (patch)
treeb2f3565115cdfb3914b663e3c7ae4d895ec4b183 /package/physfs
parent3c937807a3921c87c6463f9dbb7e225dd711fd45 (diff)
downloadbuildroot-53252f23b7011780daaf8185d8f0e2a7c5609dd9.tar.gz
buildroot-53252f23b7011780daaf8185d8f0e2a7c5609dd9.zip
package/physfs: needs threads support
When physfs is built for a Linux system the PHYSFS_PLATFORM_POSIX (which enable code that use pthread_*()) symbol must be defined, so threads support is required. The physfs build system used by the previous version didn't correctly set PHYSFS_PLATFORM_POSIX for system without pthread support. Add pthread dependency. Fixes: http://autobuild.buildroot.org/results/75d/75d68ff9da42d61f47d80b463445c12bc51ed1a4 Signed-off-by: Romain Naour <romain.naour@smile.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/physfs')
-rw-r--r--package/physfs/Config.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/physfs/Config.in b/package/physfs/Config.in
index dad3ab43ce..c272d8879f 100644
--- a/package/physfs/Config.in
+++ b/package/physfs/Config.in
@@ -1,10 +1,11 @@
config BR2_PACKAGE_PHYSFS
bool "physfs"
depends on BR2_INSTALL_LIBSTDCPP
+ depends on BR2_TOOLCHAIN_HAS_THREADS
help
PhysicsFS; a portable, flexible file i/o abstraction.
http://icculus.org/physfs
-comment "physfs needs a toolchain w/ C++"
- depends on !BR2_INSTALL_LIBSTDCPP
+comment "physfs needs a toolchain w/ C++, threads"
+ depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
OpenPOWER on IntegriCloud