Skip to content

Commit

Permalink
Merged revision(s) 22964 from trunk/OpenMPT:
Browse files Browse the repository at this point in the history
[Fix] mpt/library/library.hpp: Use lt_dlsym instead of dlsym in libltdl mode.
........


git-svn-id: https://source.openmpt.org/svn/openmpt/branches/OpenMPT-1.30@22967 56274372-70c3-4bfc-bfc3-4c3a0b034d27
  • Loading branch information
manxorist committed Feb 17, 2025
1 parent b8ffd72 commit 584ec91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mpt/library/library.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ class library {
}

func_ptr get_address(const std::string & symbol) const {
return reinterpret_cast<func_ptr>(dlsym(handle, symbol.c_str()));
return reinterpret_cast<func_ptr>(lt_dlsym(handle, symbol.c_str()));
}

~library() {
Expand Down

0 comments on commit 584ec91

Please sign in to comment.