]> git.saurik.com Git - cycript.git/blobdiff - ObjectiveC/Library.mm
Evil magic juju FTW!
[cycript.git] / ObjectiveC / Library.mm
index 8776ca0ef465871357501311c0b2a708f6e5bc97..f40d74c446280cafbaf5f1225b5d8c7f1604d22d 100644 (file)
@@ -2455,5 +2455,7 @@ static CYHooks CYObjectiveCHooks = {
 struct CYObjectiveC {
     CYObjectiveC() {
         hooks_ = &CYObjectiveCHooks;
+        // XXX: evil magic juju to make this actually take effect on a Mac when compiled with autoconf/libtool doom!
+        _assert(hooks_ != NULL);
     }
 } CYObjectiveC;