Skip to content

Commit

Permalink
Print the name of the reopened library
Browse files Browse the repository at this point in the history
  • Loading branch information
artdeell committed Jan 21, 2024
1 parent b2b7c76 commit a1f2647
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,7 @@ static int iter_phdr_cb(struct dl_phdr_info* info, size_t size, void* data)
* do what we do on macOS above, re-dlopen the already loaded lib (just
* increases ref count) and compare handles */
/* @@@ might be b/c it's the reloc addr... see below */
printf("LWJGL: re-opening library %s\n", info->dlpi_name);
lib = dlopen(info->dlpi_name, RTLD_LIGHTEST);
printf("LWJGL: lightest dlopen()=%p\n", lib);
if(lib)
Expand Down

0 comments on commit a1f2647

Please sign in to comment.