projects
/
feed
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f2113d
)
libnet: Export `libnet-config` in development environments
15772/head
author
Dylan Corrales
<deathcamel58@gmail.com>
Fri, 4 Jun 2021 13:38:49 +0000
(09:38 -0400)
committer
Dylan 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
patch
|
blob
|
history
diff --git
a/libs/libnet-1.2.x/Makefile
b/libs/libnet-1.2.x/Makefile
index 8417dc51d95c9c7f30651288f6f4dafc40a6c525..4b16995e51a1164aba1245e545dc40ce2c9ee042 100644
(file)
--- 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