Merge pull request #15790 from DeathCamel58/libnet-config-21.02

[21.02] libnet-1.2.x: Export libnet-config in development environments
This commit is contained in:
Rosen Penev 2021-06-06 12:50:15 -07:00 committed by GitHub
commit ed7b332ed4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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