iperf3/libiperf3 build issue

e9hack e9hack at gmail.com
Wed Sep 14 08:12:04 PDT 2022


Hi,

commit "ae48be8e2157bc7c352b3b6d30c026fafdae4867 / iperf3: add shared libiperf library and link iperf3 dynamically" is wrong. The install rule for libiperf3 overrides the rule for iperf3. Iperf3 itself will not be installed.
  
diff --git a/net/iperf3/Makefile b/net/iperf3/Makefile
index db3b6e432..a5f465f99 100644
--- a/net/iperf3/Makefile
+++ b/net/iperf3/Makefile
@@ -97,7 +97,7 @@ define Package/iperf3-ssl/install
  	$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/iperf3 $(1)/usr/bin/
  endef
  
-define Package/iperf3/install
+define Package/libiperf3/install
  	$(INSTALL_DIR) $(1)/usr/lib
  	$(CP) $(PKG_INSTALL_DIR)/usr/lib/libiperf.so.* $(1)/usr/lib
  endef

Regards,
Hartmut



More information about the openwrt-devel mailing list