[PATCH] libcxxabi: fix compilation under the SDK

Rosen Penev rosenp at gmail.com
Wed Sep 9 23:22:44 EDT 2020


Under the SDK, the path for base packages is different.

Signed-off-by: Rosen Penev <rosenp at gmail.com>
---
 package/libs/libcxxabi/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/libs/libcxxabi/Makefile b/package/libs/libcxxabi/Makefile
index 90547561b2..e663fafc8e 100644
--- a/package/libs/libcxxabi/Makefile
+++ b/package/libs/libcxxabi/Makefile
@@ -58,7 +58,7 @@ TARGET_CXXFLAGS += -flto
 TARGET_LDFLAGS += -Wl,--gc-sections,--as-needed
 
 define Build/Prepare
-	$(MAKE) -C $(TOPDIR)/package/libs/libcxx prepare
+	$(MAKE) -C $(TOPDIR)/$(if $(CONFIG_IN_SDK),feeds/base/)package/libs/libcxx prepare
 	$(call Build/Prepare/Default)
 endef
 
-- 
2.17.1




More information about the openwrt-devel mailing list