diff options
author | Sam Lantinga <slouken@libsdl.org> | 2016-11-01 10:30:46 -0700 |
---|---|---|
committer | Sam Lantinga <slouken@libsdl.org> | 2016-11-01 10:30:46 -0700 |
commit | 9272bc5e41f48aac6e66e46acfd2295bc3cd3aa7 (patch) | |
tree | c4d526057f2208dd3dc11fd45d6aac7e99dd4841 /include/SDL_config.h.cmake | |
parent | 99df4e523592bf92a0191f4367a473086e2f12f8 (diff) |
Fixed bug 3478 - Patch Haiku to use dlopen instead of load_add_on
Kai Sterker
SDL2 on Haiku so far uses Haiku-specific APIs for loading dynamic objects as add-ons, instead of using dlopen to load them as libraries. This, for example, leads to SDL_mixer not being able to load its audio backends, when compiled with standard settings.
As discussed at https://www.freelists.org/post/haikuports/SDL2-mixer-ogg-music-not-playing-and-other-stuff,2 , the best way to deal with this would be using dlopen instead of load_add_on. The following patch implements this change by dropping the Haiku-specific bits and using dlopen instead.
Diffstat (limited to 'include/SDL_config.h.cmake')
-rw-r--r-- | include/SDL_config.h.cmake | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/SDL_config.h.cmake b/include/SDL_config.h.cmake index 98c62a9949..12692f531e 100644 --- a/include/SDL_config.h.cmake +++ b/include/SDL_config.h.cmake @@ -252,7 +252,6 @@ #cmakedefine SDL_HAPTIC_XINPUT @SDL_HAPTIC_XINPUT@ /* Enable various shared object loading systems */ -#cmakedefine SDL_LOADSO_HAIKU @SDL_LOADSO_HAIKU@ #cmakedefine SDL_LOADSO_DLOPEN @SDL_LOADSO_DLOPEN@ #cmakedefine SDL_LOADSO_DUMMY @SDL_LOADSO_DUMMY@ #cmakedefine SDL_LOADSO_LDG @SDL_LOADSO_LDG@ |