Add copyfile submodule. Fix building.

This commit is contained in:
Thomas A 2023-01-29 21:15:00 -08:00
parent be39c6de41
commit 69f5a5dd0a
7 changed files with 9 additions and 5 deletions

3
.gitmodules vendored
View File

@ -411,3 +411,6 @@
[submodule "src/external/bootstrap_cmds"]
path = src/external/bootstrap_cmds
url = ../darling-bootstrap_cmds.git
[submodule "src/external/copyfile"]
path = src/external/copyfile
url = ../darling-copyfile.git

View File

@ -1 +1 @@
../../../../../../../../src/copyfile/copyfile.h
../../../../../../../../src/external/copyfile/copyfile.h

View File

@ -1 +1 @@
../../../../../../../../src/copyfile/xattr_flags.h
../../../../../../../../src/external/copyfile/xattr_flags.h

View File

@ -21,7 +21,7 @@ FUNCTION(use_ld64 target)
-Wl,-dylib_file,/usr/lib/system/libkeymgr.dylib:${CMAKE_BINARY_DIR}/src/keymgr/libkeymgr_firstpass.dylib \
-Wl,-dylib_file,/usr/lib/system/libquarantine.dylib:${CMAKE_BINARY_DIR}/src/quarantine/libquarantine.dylib \
-Wl,-dylib_file,/usr/lib/system/libremovefile.dylib:${CMAKE_BINARY_DIR}/src/libremovefile/libremovefile.dylib \
-Wl,-dylib_file,/usr/lib/system/libcopyfile.dylib:${CMAKE_BINARY_DIR}/src/copyfile/libcopyfile.dylib \
-Wl,-dylib_file,/usr/lib/system/libcopyfile.dylib:${CMAKE_BINARY_DIR}/src/external/copyfile/libcopyfile.dylib \
-Wl,-dylib_file,/usr/lib/system/libsystem_coreservices.dylib:${CMAKE_BINARY_DIR}/src/libsystem_coreservices/libsystem_coreservices.dylib \
-Wl,-dylib_file,/usr/lib/system/libsystem_notify.dylib:${CMAKE_BINARY_DIR}/src/external/libnotify/libsystem_notify_firstpass.dylib \
-Wl,-dylib_file,/usr/lib/system/libdispatch.dylib:${CMAKE_BINARY_DIR}/src/external/libdispatch/liblibdispatch_shared_firstpass.dylib \

View File

@ -138,7 +138,7 @@ add_subdirectory(external/darling-dmg)
add_subdirectory(libm)
add_subdirectory(libMobileGestalt)
add_subdirectory(libgcc)
add_subdirectory(copyfile)
add_subdirectory(external/copyfile)
add_subdirectory(external/Libinfo)
add_subdirectory(quarantine)
add_subdirectory(external/libmalloc)

1
src/external/copyfile vendored Submodule

@ -0,0 +1 @@
Subproject commit eca07904e0f9bc519c01563f34754122d149ef6f

@ -1 +1 @@
Subproject commit f29cfc51dece258771462af1f2e946db37b7cc21
Subproject commit 90df8b35fa7a5129612d0dcbd56d53013b5ce674