1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-13 19:03:52 +02:00

libnet: Export libnet-config in development environments

Affects: libnet
Ref: Issue #15767, PR#15770

Signed-off-by: Dylan Corrales <deathcamel58@gmail.com>
This commit is contained in:
Dylan Corrales 2021-06-06 11:44:53 -04:00
parent aa97f703a0
commit 81c4a9afcf

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