================
@@ -432,18 +468,18 @@ ifeq (1,$(USE_LIBCPP))
                ifneq "$(LIBCPP_INCLUDE_TARGET_DIR)" ""
                                CXXFLAGS += -cxx-isystem 
$(LIBCPP_INCLUDE_TARGET_DIR)
                endif
-               LDFLAGS += -L$(LIBCPP_LIBRARY_DIR) 
-Wl,-rpath,$(LIBCPP_LIBRARY_DIR) -lc++
+               LDFLAGS += -L$(LIBCPP_LIBRARY_DIR) 
-Wl,-rpath,$(LIBCPP_LIBRARY_DIR) -lc++ -lc++abi
        else
                ifeq "$(OS)" "Android"
                                # Nothing to do, this is already handled in
                                # Android.rules.
                else
                                CXXFLAGS += -stdlib=libc++
-                               LDFLAGS += -stdlib=libc++
+                               LDFLAGS += -stdlib=libc++ -lc++abi
----------------
labath wrote:

Why is this necessary. Is this a static/dynamic linking thing?

https://github.com/llvm/llvm-project/pull/99266
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to