Browse Source

libnet: Export `libnet-config` in development environments

Signed-off-by: Dylan Corrales <deathcamel58@gmail.com>
lilik-openwrt-22.03
Dylan Corrales 4 years ago
parent
commit
e9a6f49ca3
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      libs/libnet-1.2.x/Makefile

+ 4
- 0
libs/libnet-1.2.x/Makefile View File

@ -56,6 +56,10 @@ define Build/InstallDev
$(INSTALL_DIR) $(STAGING_DIR)/usr/include
$(CP) $(PKG_INSTALL_DIR)/usr/include/libnet.h $(STAGING_DIR)/usr/include
$(INSTALL_DIR) $(STAGING_DIR)
$(CP) $(PKG_BUILD_DIR)/libnet-config $(STAGING_DIR)/usr
chmod a+x $(STAGING_DIR)/usr/libnet-config
$(INSTALL_DIR) $(STAGING_DIR)/usr/include/libnet
$(CP) $(PKG_INSTALL_DIR)/usr/include/libnet/libnet-*.h $(STAGING_DIR)/usr/include/libnet


Loading…
Cancel
Save