Skip to content

Commit

Permalink
iproute2: require nls infrastructure due to libelf linking
Browse files Browse the repository at this point in the history
Depending on the global nls support configuration in the buildroot, the
linked libelf.so library might depend on libintl.so.

Import the nls.mk helper to set library prefixes and flags accordingly
in this case.

Ref: openwrt/packages#7728 (comment)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
  • Loading branch information
jow- committed Dec 20, 2018
1 parent f2c6e2c commit de7ae9a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package/network/utils/iproute2/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk

PKG_NAME:=iproute2
PKG_VERSION:=4.19.0
PKG_RELEASE:=7
PKG_RELEASE:=8

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=@KERNEL/linux/utils/net/iproute2
Expand All @@ -23,6 +23,7 @@ PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSI

include $(INCLUDE_DIR)/kernel.mk
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/nls.mk

define Package/iproute2/Default
SECTION:=net
Expand Down

0 comments on commit de7ae9a

Please sign in to comment.