Skip to content

Commit

Permalink
Fix macOS dylib loader not checking for debug suffix
Browse files Browse the repository at this point in the history
  • Loading branch information
ensiform committed Sep 11, 2023
1 parent c4ff792 commit 5f183a6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/unix/unix_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,11 @@ static void *try_dlopen(const char *base, const char *gamedir, const char *fname
#ifdef __APPLE__
const char *Sys_GetDLLName(const char *name)
{
#ifdef _DEBUG
return va("%s_d_mac", name);
#else
return va("%s_mac", name);
#endif
}
#else
const char *Sys_GetDLLName(const char *name)
Expand Down

0 comments on commit 5f183a6

Please sign in to comment.