aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorHans Dedecker <dedeckeh@gmail.com>2017-11-06 14:38:26 +0100
committerHans Dedecker <dedeckeh@gmail.com>2017-11-11 18:06:16 +0100
commit8d446e8da68b92d6fb03fde362e44f64ea403671 (patch)
treeea894a3a72e97a3f29d9ba79c5d5ef1572c81474 /net
parent0bd19db0498780c3ac1e69ebc16c1334a609e285 (diff)
net-snmp: InstallDev fix
Commit 384c2a8cfd2af9bc7acd6a642d71dbac2cc5056f added support for symlinking net-snmp-config into $(STAGING_DIR)/usr/bin but forgot to install first $(STAGING_DIR)/usr/bin resulting into a compile issue if $(STAGING_DIR)/usr/bin is not yet present. Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'net')
-rw-r--r--net/net-snmp/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/net-snmp/Makefile b/net/net-snmp/Makefile
index fbe6df8b2..ecb4efa12 100644
--- a/net/net-snmp/Makefile
+++ b/net/net-snmp/Makefile
@@ -228,6 +228,7 @@ define Build/InstallDev
$(INSTALL_DIR) $(2)/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/net-snmp-config $(2)/bin/
$(SED) 's,=/usr,=$(STAGING_DIR)/usr,g' $(2)/bin/net-snmp-config
+ $(INSTALL_DIR) $(STAGING_DIR)/usr/bin
$(LN) $(STAGING_DIR)/host/bin/net-snmp-config $(STAGING_DIR)/usr/bin/
$(INSTALL_DIR) $(1)/usr/include