Skip to content

Commit c6f4003

Browse files
committed
Merged revision(s) 22964 from trunk/OpenMPT:
[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.31@22966 56274372-70c3-4bfc-bfc3-4c3a0b034d27
1 parent 4b93d7c commit c6f4003

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mpt/library/library.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ class library {
429429
}
430430

431431
func_ptr get_address(const std::string & symbol) const {
432-
return reinterpret_cast<func_ptr>(dlsym(handle, symbol.c_str()));
432+
return reinterpret_cast<func_ptr>(lt_dlsym(handle, symbol.c_str()));
433433
}
434434

435435
~library() {

0 commit comments

Comments
 (0)