this repo has no description
1
fork

Configure Feed

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

Corrections for building with -DCMAKE_INSTALL_LIBDIR=lib64

+4 -2
+1
src/dyld/CMakeLists.txt
··· 20 20 # Needed because libdyld references pthread funcs in libsystem_c.so 21 21 SET(CMAKE_EXE_LINKER_FLAGS "-Wl,--unresolved-symbols=ignore-in-shared-libs") 22 22 23 + add_definitions(-D_GNU_SOURCE) 23 24 include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../libmach-o) 24 25 25 26 if (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "x86_64" OR ${CMAKE_SYSTEM_PROCESSOR} STREQUAL "x86")
+3 -2
src/dyld/dyld-multilib.c
··· 28 28 int main(int argc, char** argv) 29 29 { 30 30 uint32_t signature; 31 - int fd; 31 + int fd = -1; 32 32 const char* target = "64"; 33 33 bool reg; 34 34 35 35 if (argc == 2 && (reg = !strcmp(argv[1], "--register") || !strcmp(argv[1], "--deregister"))) 36 36 return registerDeregister(argv[0], reg); 37 37 38 - fd = open(argv[1], O_RDONLY | O_CLOEXEC); 38 + if (argc > 1) 39 + fd = open(argv[1], O_RDONLY | O_CLOEXEC); 39 40 40 41 // We let real dyld output all serious error messages 41 42 // not to duplicate the functionality.