libnet: Export `libnet-config` in development environments 15772/head
authorDylan Corrales <deathcamel58@gmail.com>
Fri, 4 Jun 2021 13:38:49 +0000 (09:38 -0400)
committerDylan Corrales <deathcamel58@gmail.com>
Fri, 4 Jun 2021 13:38:49 +0000 (09:38 -0400)
Signed-off-by: Dylan Corrales <deathcamel58@gmail.com>
libs/libnet-1.2.x/Makefile

index 8417dc51d95c9c7f30651288f6f4dafc40a6c525..4b16995e51a1164aba1245e545dc40ce2c9ee042 100644 (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