Add libresolv submodule. Fix Paths.

This commit is contained in:
Thomas A 2023-02-02 23:40:07 -08:00
parent f81fc2ef4d
commit e7d6ab7e1e
8 changed files with 10 additions and 6 deletions

3
.gitmodules vendored
View File

@ -423,3 +423,6 @@
[submodule "src/external/libiconv"]
path = src/external/libiconv
url = ../darling-libiconv.git
[submodule "src/external/libresolv"]
path = src/external/libresolv
url = ../darling-libresolv.git

View File

@ -1 +1 @@
../../../../../../../../src/libresolv/include/dns.h
../../../../../../../../src/external/libresolv/darling/include/dns.h

View File

@ -1 +1 @@
../../../../../../../../src/libresolv/dns_util.h
../../../../../../../../src/external/libresolv/darling/include/dns_util.h

View File

@ -1 +1 @@
../../../../../../../../src/libresolv/nameser.h
../../../../../../../../src/external/libresolv/darling/include/nameser.h

View File

@ -1 +1 @@
../../../../../../../../src/libresolv/resolv.h
../../../../../../../../src/external/libresolv/darling/include/resolv.h

View File

@ -37,7 +37,7 @@ FUNCTION(use_ld64 target)
-Wl,-dylib_file,/usr/lib/system/libsystem_coretls.dylib:${CMAKE_BINARY_DIR}/src/external/coretls/libsystem_coretls.dylib \
-Wl,-dylib_file,/usr/lib/system/libcommonCrypto.dylib:${CMAKE_BINARY_DIR}/src/external/commoncrypto/libcommonCrypto.dylib \
-Wl,-dylib_file,/usr/lib/system/libsystem_asl.dylib:${CMAKE_BINARY_DIR}/src/external/syslog/libsystem_asl.tproj/libsystem_asl_firstpass.dylib \
-Wl,-dylib_file,/usr/lib/libresolv.9.dylib:${CMAKE_BINARY_DIR}/src/libresolv/libresolv.9.dylib \
-Wl,-dylib_file,/usr/lib/libresolv.9.dylib:${CMAKE_BINARY_DIR}/src/external/libresolv/libresolv.9.dylib \
-Wl,-dylib_file,/usr/lib/system/libxpc.dylib:${CMAKE_BINARY_DIR}/src/external/libxpc/libxpc_firstpass.dylib \
-Wl,-dylib_file,/usr/lib/libc++.1.dylib:${CMAKE_BINARY_DIR}/src/external/libcxx/libc++.1.dylib \
-Wl,-dylib_file,/usr/lib/system/libsystem_malloc.dylib:${CMAKE_BINARY_DIR}/src/external/libmalloc/libsystem_malloc_firstpass.dylib \

View File

@ -155,7 +155,7 @@ add_subdirectory(libcache)
add_subdirectory(ncurses)
add_subdirectory(external/libiconv)
add_subdirectory(duct/src)
add_subdirectory(libresolv)
add_subdirectory(external/libresolv)
add_subdirectory(external/corecrypto)
add_subdirectory(external/coretls)
add_subdirectory(xtrace)

1
src/external/libresolv vendored Submodule

@ -0,0 +1 @@
Subproject commit 06352b8a052fa8196b1617f569574f6f9ecaf904