mirror of
https://github.com/darlinghq/darling-xnu.git
synced 2024-11-23 04:29:53 +00:00
Copy Over Build Script For "libkxld"
Taken From LKM Branch
This commit is contained in:
parent
4d0d5857b9
commit
2a4f4caf14
32
libkern/kxld/CMakeLists.txt
Normal file
32
libkern/kxld/CMakeLists.txt
Normal file
@ -0,0 +1,32 @@
|
||||
project(libkxld)
|
||||
|
||||
add_compile_definitions(
|
||||
PRIVATE
|
||||
)
|
||||
|
||||
set(DYLIB_INSTALL_NAME "/usr/lib/system/libkxld.dylib")
|
||||
add_darling_library(libkxld
|
||||
kxld.c
|
||||
kxld_array.c
|
||||
kxld_copyright.c
|
||||
kxld_demangle.c
|
||||
kxld_dict.c
|
||||
kxld_kext.c
|
||||
kxld_object.c
|
||||
kxld_reloc.c
|
||||
kxld_sect.c
|
||||
kxld_seg.c
|
||||
kxld_splitinfolc.c
|
||||
kxld_srcversion.c
|
||||
kxld_sym.c
|
||||
kxld_symtab.c
|
||||
kxld_util.c
|
||||
kxld_uuid.c
|
||||
kxld_versionmin.c
|
||||
kxld_vtable.c
|
||||
)
|
||||
make_fat(libkxld)
|
||||
target_link_libraries(libkxld system cxxabi)
|
||||
set_target_properties(libkxld PROPERTIES OUTPUT_NAME "kxld")
|
||||
|
||||
install(TARGETS libkxld DESTINATION libexec/darling/usr/lib/system)
|
Loading…
Reference in New Issue
Block a user