this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Move libelfloader.dylib to /usr/lib/darling/

+4 -4
+2 -2
src/kernel/emulation/linux/elfcalls_wrapper.c
··· 8 8 { 9 9 if (!_elfcalls) 10 10 { 11 - void* module = dlopen("/usr/lib/libelfloader.dylib", RTLD_NOW); 11 + void* module = dlopen("/usr/lib/darling/libelfloader.dylib", RTLD_NOW); 12 12 // if (!module) 13 13 // __simple_printf("Load error: %s\n", dlerror()); 14 - 14 + 15 15 // struct elf_calls** ptr = (struct elf_calls**) dlsym(module, "_elfcalls"); 16 16 // __simple_printf("_elfcalls is at %p\n", ptr); 17 17 // __simple_printf("*_elfcalls = %p\n", *ptr);
+2 -2
src/libelfloader/CMakeLists.txt
··· 4 4 loader.c 5 5 ) 6 6 7 - set(DYLIB_INSTALL_NAME "/usr/lib/libelfloader.dylib") 7 + set(DYLIB_INSTALL_NAME "/usr/lib/darling/libelfloader.dylib") 8 8 add_darling_library(elfloader SHARED ${elfloader_sources}) 9 9 target_link_libraries(elfloader system) 10 10 make_fat(elfloader) 11 11 12 - install(TARGETS elfloader DESTINATION libexec/darling/usr/lib) 12 + install(TARGETS elfloader DESTINATION libexec/darling/usr/lib/darling) 13 13