Skip to content
This repository was archived by the owner on Apr 2, 2020. It is now read-only.

Commit c6952f7

Browse files
authored
Merge pull request #2038 from dcci/ondevice-crosscomp
2 parents 967c3dd + 5cd35f0 commit c6952f7

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

cmake/modules/LLDBFramework.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,13 @@ add_dependencies(liblldb liblldb-resource-headers)
8383

8484
# At build time, copy the staged headers into the framework bundle (and do
8585
# some post-processing in-place).
86+
if (NOT IOS)
8687
add_custom_command(TARGET liblldb POST_BUILD
8788
COMMAND ${CMAKE_COMMAND} -E copy_directory ${lldb_header_staging} $<TARGET_FILE_DIR:liblldb>/Headers
8889
COMMAND ${LLDB_SOURCE_DIR}/scripts/framework-header-fix.sh $<TARGET_FILE_DIR:liblldb>/Headers ${LLDB_VERSION}
8990
COMMENT "LLDB.framework: copy framework headers"
9091
)
92+
endif()
9193

9294
# Copy vendor-specific headers from clang (without staging).
9395
if(NOT IOS)

tools/debugserver/source/MacOSX/MachVMMemory.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
#if defined(WITH_FBS) || defined(WITH_BKS)
2222
extern "C" {
23-
#import <sys/kern_memorystatus.h>
23+
#import <System/sys/kern_memorystatus.h>
2424
}
2525
#endif
2626

0 commit comments

Comments
 (0)