All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Second Step in allowing Static / shared library choice
@ 2007-02-08 16:12 Daniel Laird
  0 siblings, 0 replies; only message in thread
From: Daniel Laird @ 2007-02-08 16:12 UTC (permalink / raw)
  To: buildroot


The second step is to modify package/Makefile.in with the following patch:
This means in package makefiles we can use $(ENABLE_STATIC_LIBS) etc as a
shortcut to decide if we are configuring in support for static or shared (or
both) libraries.

Cheers
Dan 

@@ -98,6 +99,18 @@
 DISABLE_NLS:=
 else
 DISABLE_NLS:=--disable-nls
+endif
+
+ifeq ($(BR2_STATIC_LIBS),y)
+ENABLE_STATIC_LIBS:=--enable-static
+else
+ENABLE_STATIC_LIBS:=
+endif
+
+ifeq ($(BR2_SHARED_LIBS),y)
+ENABLE_SHARED_LIBS:=--enable-static
+else
+ENABLE_SHARED_LIBS:=
 endif
 
 ifneq ($(BR2_LARGEFILE),y)

This p
-- 
View this message in context: http://www.nabble.com/Second-Step-in-allowing-Static---shared-library-choice-tf3194228.html#a8868429
Sent from the BuildRoot mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-02-08 16:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-08 16:12 [Buildroot] Second Step in allowing Static / shared library choice Daniel Laird

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.