Browse Source

I overlooked one ABI-compat fix for OSX

rdb 16 năm trước cách đây
mục cha
commit
4c623bf8a2
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;