diff -ur cctools-895/libmacho/Makefile cctools-895+iPhone/libmacho/Makefile --- cctools-895/libmacho/Makefile 2016-12-09 08:02:59.000000000 -1000 +++ cctools-895+iPhone/libmacho/Makefile 2018-09-05 10:18:21.000000000 -1000 @@ -16,9 +16,7 @@ LIBSYSCALL=-lsystem_kernel endif -DEPENDENT_LIBS = -nodefaultlibs -umbrella System -L/usr/lib/system \ - -ldyld -lsystem_malloc -lsystem_c $(LIBSYSCALL) \ - -lcompiler_rt +DEPENDENT_LIBS = -nodefaultlibs -umbrella System -L"${SDKROOT}/usr/lib/system" -lSystem ifneq "" "$(SDKROOT)" SDK = -isysroot $(SDKROOT)