projects
/
buildroot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ec088d
)
iproute2: fix static build
author
Baruch Siach
<baruch@tkos.co.il>
Thu, 7 May 2015 07:20:12 +0000
(10:20 +0300)
committer
Peter Korsgaard
<peter@korsgaard.com>
Thu, 7 May 2015 20:16:38 +0000
(22:16 +0200)
Fixes:
http://autobuild.buildroot.net/results/a10/
a107ac3252ad48732069ec0de6ff8692b32c6a71
/
http://autobuild.buildroot.net/results/e27/
e2785a35bc6bc63d5da77e406e589889e7d39055
/
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/iproute2/iproute2.mk
patch
|
blob
|
history
diff --git
a/package/iproute2/iproute2.mk
b/package/iproute2/iproute2.mk
index 102a222da12fcf7454de9e76cf77563bff870db8..9595165ec6a5ff0bae23491a47adf829e735f381 100644
(file)
--- a/
package/iproute2/iproute2.mk
+++ b/
package/iproute2/iproute2.mk
@@
-61,7
+61,8
@@
define IPROUTE2_BUILD_CMDS
$(SED) 's/$$(CCOPTS)//' $(@D)/netem/Makefile
$(TARGET_MAKE_ENV) $(MAKE) \
DBM_INCLUDE="$(STAGING_DIR)/usr/include" \
- CCOPTS="$(TARGET_CFLAGS) -D_GNU_SOURCE" -C $(@D)
+ CCOPTS="$(TARGET_CFLAGS) -D_GNU_SOURCE" \
+ SHARED_LIBS="$(if $(BR2_STATIC_LIBS),n,y)" -C $(@D)
endef
define IPROUTE2_INSTALL_TARGET_CMDS