I overlooked one ABI-compat fix for OSX

This commit is contained in:
rdb 2010-03-14 14:34:44 +00:00
parent d668a53639
commit 4c623bf8a2
1 changed files with 1 additions and 1 deletions

View File

@ -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;