All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] make: requires dynamic libraries
@ 2015-09-17  0:38 Ryan Barnett
  2015-09-17 21:27 ` Thomas Petazzoni
  0 siblings, 1 reply; 7+ messages in thread
From: Ryan Barnett @ 2015-09-17  0:38 UTC (permalink / raw)
  To: buildroot

While attempting to build make in a static library only configuration
the following error will be shown:

 gc_pthread_redirects.h:37:22: fatal error: dlfcn.h: No such file or
 directory
  #   include <dlfcn.h>

Fix this by depending make on !BR2_STATIC_LIBS.

Fixes:
  http://autobuild.buildroot.net/results/814/8143ae0afac139845e5016058d85c800dc8527ad

Signed-off-by: Ryan Barnett <ryanbarnett3@gmail.com>
---
 package/make/Config.in | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/make/Config.in b/package/make/Config.in
index f576b7b..11adbab 100644
--- a/package/make/Config.in
+++ b/package/make/Config.in
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_MAKE
 	bool "make"
 	depends on BR2_USE_MMU # fork()
+	depends on !BR2_STATIC_LIBS # dlopen()
 	select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
 	help
 	  A tool which controls the generation of executables and other
@@ -11,3 +12,6 @@ config BR2_PACKAGE_MAKE
 	  useful to run the uClibc test suite on the target.
 
 	  http://www.gnu.org/software/make/
+
+comment "make needs a toolchain w/ dynamic libraries"
+	depends on BR2_STATIC_LIBS
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-09-20 17:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-17  0:38 [Buildroot] [PATCH] make: requires dynamic libraries Ryan Barnett
2015-09-17 21:27 ` Thomas Petazzoni
2015-09-20 14:40   ` Ryan Barnett
2015-09-20 16:58     ` Thomas Petazzoni
2015-09-20 17:04       ` Thomas Petazzoni
2015-09-20 17:16         ` Baruch Siach
2015-09-20 17:21           ` Ryan Barnett

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.