[Ohrrpgce] SVN: teeemcee/13059 Add scons libdir=... arg & lookup SDL/SDL_mixer .so names at build time
subversion at HamsterRepublic.com
subversion at HamsterRepublic.com
Wed Aug 17 21:35:42 PDT 2022
teeemcee
2022-08-17 21:35:39 -0700 (Wed, 17 Aug 2022)
673
Add scons libdir=... arg & lookup SDL/SDL_mixer .so names at build time to use for dylibload
Also, use dylib_noload instead of dylibload to load SDL and SDL_mixer (and libmodplug)
on Unix.
verprint puts the exact filename of the libraries (e.g. libSDL2-2.0.so.0) in
globals.bas so they can be used to runtime link to the SDL/SDL_mixer .so file
we're actually linked to rather than one provided by the system (which provides
a libSDL2.so symlink to its copy).
scons libdir=... also is passed to the linker as a -L libpath
Also, the weird naming of libSDL/SDL_mixer in the commandgenius Android port is
now handled at build time, not with a special case in music_sdl.bas.
---
U wip/SConscript
U wip/common_base.bi
U wip/gfx_sdl2.bas
U wip/music_sdl.bas
U wip/ohrbuild.py
More information about the Ohrrpgce
mailing list