Files
clang-p2996/lldb/test/API/lang/objc/objc_direct-methods/Makefile
Felipe de Azevedo Piovezan c413df064e [lldb-tests] Force use of system stdlib for Objective-C test
The test TestObjCDirectMethods loads the Objective C runtime, which
doesn't work well with custom a libcxx, resulting in two copies of the
standard library being loaded at runtime.

Like what was done for `TestObjCExceptions`, this commit forces the
usage of the system's library instead. The minimum required Clang
version is set to the oldest Clang that can compile the libraries
available in the lldb-matrix bots.

Differential Revision: https://reviews.llvm.org/D136600
2022-10-24 12:39:48 -04:00

6 lines
112 B
Makefile

OBJC_SOURCES := main.m
LD_EXTRAS := -lobjc -framework Foundation
USE_SYSTEM_STDLIB := 1
include Makefile.rules