* [Buildroot] [git commit] package/Makefile.in: link statically when BR2_PREFER_STATIC_LIB
@ 2012-06-29 14:40 Peter Korsgaard
0 siblings, 0 replies; only message in thread
From: Peter Korsgaard @ 2012-06-29 14:40 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=eb421a8433a44504c79e06ccdd5a69a9792ee77f
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Instead of explicitly adding it for each package.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
package/Makefile.in | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/package/Makefile.in b/package/Makefile.in
index 1d43aef..c5ad00a 100644
--- a/package/Makefile.in
+++ b/package/Makefile.in
@@ -305,6 +305,7 @@ endif
ifeq ($(BR2_PREFER_STATIC_LIB),y)
SHARED_STATIC_LIBS_OPTS=--enable-static --disable-shared
+TARGET_LDFLAGS += -static
else
SHARED_STATIC_LIBS_OPTS=--enable-static --enable-shared
endif
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2012-06-29 14:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-29 14:40 [Buildroot] [git commit] package/Makefile.in: link statically when BR2_PREFER_STATIC_LIB Peter Korsgaard
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.