Browse Source

lsof: respect IPv6 settings

Signed-off-by: Alexander Ryzhov <openwrt@ryzhov-al.ru>
lilik-openwrt-22.03
Alexander Ryzhov 10 years ago
parent
commit
72322f24ae
1 changed files with 8 additions and 2 deletions
  1. +8
    -2
      utils/lsof/Makefile

+ 8
- 2
utils/lsof/Makefile View File

@ -10,7 +10,7 @@ include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=lsof
PKG_VERSION:=4.86
PKG_RELEASE:=2
PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION)+dfsg.orig.tar.gz
PKG_SOURCE_URL:=http://ftp2.de.debian.org/debian/pool/main/l/lsof
@ -32,9 +32,15 @@ define Package/lsof
URL:=http://people.freebsd.org/~abe/
endef
ifeq ($(CONFIG_IPV6),y)
LINUX_CLIB_IPV6="-DHASIPv6"
else
LINUX_CLIB_IPV6=
endif
define Build/Configure
cd $(PKG_BUILD_DIR); \
LINUX_CLIB="-DGLIBCV=2" \
LINUX_CLIB="-DGLIBCV=2 $(LINUX_CLIB_IPV6)" \
LSOF_CC="$(TARGET_CC)" \
LSOF_INCLUDE="-I$(STAGING_DIR)/usr/include" \
LSOF_VSTR="$(LINUX_VERSION)" \


Loading…
Cancel
Save