From: Dylan Corrales Date: Fri, 4 Jun 2021 13:38:49 +0000 (-0400) Subject: libnet: Export `libnet-config` in development environments X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=e9a6f49ca3a7369de1fd40fb18b303d052c5ce1b;p=openwrt-packages.git libnet: Export `libnet-config` in development environments Signed-off-by: Dylan Corrales --- diff --git a/libs/libnet-1.2.x/Makefile b/libs/libnet-1.2.x/Makefile index 8417dc51d..4b16995e5 100644 --- a/libs/libnet-1.2.x/Makefile +++ b/libs/libnet-1.2.x/Makefile @@ -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