iperf3/libiperf3 build issue

Nick vincent at systemli.org
Wed Sep 14 14:26:38 PDT 2022


Sorry, I did a typo when creating the PR. Fixed with:
https://github.com/openwrt/packages/pull/19368

Bests
Nick

On 9/14/22 17:12, e9hack wrote:
> 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
>
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list