[PATCH] libcxxabi: fix compilation under the SDK

Rosen Penev rosenp at gmail.com
Thu Sep 10 04:41:37 EDT 2020


On Thu, Sep 10, 2020 at 1:25 AM Jo-Philipp Wich <jo at mein.io> wrote:
>
> Hi,
>
> > +     $(MAKE) -C $(TOPDIR)/$(if $(CONFIG_IN_SDK),feeds/base/)package/libs/libcxx prepare
>
> this looks like an ugly hack,
Yes it is.
> also the feed is not guaranteed to reside in
> feeds/base/ - the user can theoretically change the name of the base feed.
>
> Why does this package need to trigger an prepare in a foreign package anyway?
> Isn't it enough to PKG_BUILD_DEPEND on base-files?
It's a circular dependency. Rather, libcxxabi depends on headers
provided by libcxx. But libcxx itself depends on libcxxabi.
>
> ~ Jo
>
> _______________________________________________
> 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