Browse Source

Merge pull request #15772 from DeathCamel58/libnet-1.2.x-libnet-config-master

[master] libnet: Export libnet-config in development environments
lilik-openwrt-22.03
Rosen Penev 3 years ago
committed by GitHub
parent
commit
7f03141b72
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
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