Explorar el Código

I overlooked one ABI-compat fix for OSX

rdb hace 16 años
padre
commit
4c623bf8a2
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      dtool/src/dtoolutil/executionEnvironment.cxx

+ 1 - 1
dtool/src/dtoolutil/executionEnvironment.cxx

@@ -505,7 +505,7 @@ read_args() {
     for (uint32_t i = 0; i < ic; ++i) {
       const char *buffer = _dyld_get_image_name(i);
       const char *tail = strrchr(buffer, '/');
-      if (tail && (strcmp(tail,"/libp3dtool." PANDA_VERSION_STR ".dylib")==0)) {
+      if (tail && (strcmp(tail,"/libp3dtool." PANDA_ABI_VERSION_STR ".dylib")==0)) {
         _dtool_name = buffer;
       } else if (tail && (strcmp(tail,"/libp3dtool.dylib")==0)) {
         _dtool_name = buffer;