[Ohrrpgce] SVN: teeemcee/13061 dylibload changes to support non-Framework Mac libraries

subversion at HamsterRepublic.com subversion at HamsterRepublic.com
Wed Aug 17 21:36:01 PDT 2022


teeemcee
2022-08-17 21:35:53 -0700 (Wed, 17 Aug 2022)
768
dylibload changes to support non-Framework Mac libraries

dylib_noload is now also used on Windows to unify codepaths.

On Mac gfx_sdl2 didn't load optional functions from SDL2.framework.

If the scons frameworks=... arg is used it now will result in loading .dylib
files when loading optional functions from SDL/SDL_mixer libs on Mac rather than
frameworks as specified (in case the engine is compiled using libraries locally
installed, e.g. with MacPorts).

And on Mac attempt to load both libvorbisfile and Vorbis.framework, and
libmodplug and libmodplug.framework.

Also fix incorrecting attempting to load modplug.framework rather than
libmodplug.framework. This meant that module loop points apparently weren't
enabled in music_sdl2 with SDL2_mixer before 2.6.1.
---
U   wip/SConscript
U   wip/audiofile.bas
U   wip/gfx_sdl2.bas
U   wip/music_sdl.bas
U   wip/ohrbuild.py
U   wip/os_windows.bas



More information about the Ohrrpgce mailing list