Browse Source

netdiscover: use simplified libnet header location

Use the common location for libnet include files and libraries.

Signed-off-by: Stefan Tomanek <stefan.tomanek@wertarbyte.de>
lilik-openwrt-22.03
Stefan Tomanek 7 years ago
parent
commit
56f5368abe
1 changed files with 0 additions and 4 deletions
  1. +0
    -4
      net/netdiscover/Makefile

+ 0
- 4
net/netdiscover/Makefile View File

@ -30,10 +30,6 @@ define Package/netdiscover
URL:=https://sourceforge.net/projects/netdiscover URL:=https://sourceforge.net/projects/netdiscover
endef endef
CONFIGURE_VARS+= \
CPPFLAGS="$(TARGET_CPPFLAGS) -I$(STAGING_DIR)/usr/lib/libnet-1.2.x/lib" \
LDFLAGS="$(TARGET_LDFLAGS) -L$(STAGING_DIR)/usr/lib/libnet-1.2.x/lib"
define Package/netdiscover/install define Package/netdiscover/install
$(INSTALL_DIR) $(1)/usr/sbin $(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/netdiscover $(1)/usr/sbin/ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/netdiscover $(1)/usr/sbin/


Loading…
Cancel
Save