]> git.saurik.com Git - cycript.git/blobdiff - Mach/Inject.cpp
Replace -any.dylib with a check in the trampoline.
[cycript.git] / Mach / Inject.cpp
index 7d805992c09c31a88515e0aa3b648b395f5cf0e6..a017a5bf7cecc256b54235511a370a1d75d6286e 100644 (file)
@@ -58,7 +58,7 @@ void InjectLibrary(pid_t pid) {
     library[flength] = '\0';
     _assert(strcmp(library + flength - 6, ".dylib") == 0);
 #if !TARGET_OS_IPHONE
-    strcpy(library + flength - 6, "-any.dylib");
+    strcpy(library + flength - 6, "-###.dylib");
 #endif
 
     mach_port_t self(mach_task_self()), task;