projects
/
buildroot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
311a583
)
package/Makefile.in: link statically when BR2_PREFER_STATIC_LIB
author
Peter Korsgaard
<jacmet@sunsite.dk>
Fri, 29 Jun 2012 14:13:57 +0000
(16:13 +0200)
committer
Peter Korsgaard
<jacmet@sunsite.dk>
Fri, 29 Jun 2012 14:40:04 +0000
(16:40 +0200)
Instead of explicitly adding it for each package.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/Makefile.in
patch
|
blob
|
history
diff --git
a/package/Makefile.in
b/package/Makefile.in
index 1d43aef5c2e06fe1dc9088f0b17459f15a191079..c5ad00aeec5b31ed40543baa3f3464c257f3cd6c 100644
(file)
--- 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