From: Daniel Laird <danieljlaird@hotmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] Second Step in allowing Static / shared library choice
Date: Thu, 8 Feb 2007 08:12:46 -0800 (PST) [thread overview]
Message-ID: <8868429.post@talk.nabble.com> (raw)
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.
reply other threads:[~2007-02-08 16:12 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8868429.post@talk.nabble.com \
--to=danieljlaird@hotmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.