summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/poppler/Config.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/poppler/Config.in b/package/poppler/Config.in
index 6a9e1fd86a..876601e3ba 100644
--- a/package/poppler/Config.in
+++ b/package/poppler/Config.in
@@ -1,6 +1,7 @@
config BR2_PACKAGE_POPPLER
bool "poppler"
depends on BR2_INSTALL_LIBSTDCPP
+ depends on BR2_TOOLCHAIN_HAS_THREADS
select BR2_PACKAGE_FONTCONFIG
select BR2_PACKAGE_XLIB_LIBX11 if BR2_PACKAGE_XORG7
select BR2_PACKAGE_XLIB_LIBXEXT if BR2_PACKAGE_XORG7
@@ -9,5 +10,5 @@ config BR2_PACKAGE_POPPLER
http://poppler.freedesktop.org/
-comment "poppler requires a toolchain with C++ support enabled"
- depends on !BR2_INSTALL_LIBSTDCPP
+comment "poppler requires a toolchain with C++ and thread support enabled"
+ depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
OpenPOWER on IntegriCloud