sdl12-compat

SDL 1.2 compatibility layer that runs on top of SDL 2.0

brewmacoslinux
Try with needOr install directly
Source

About

SDL 1.2 compatibility layer that uses SDL 2.0 behind the scenes

Commands

sdl-config

Examples

Get SDL 1.2 compiler flags for building legacy applications$ sdl-config --cflags --libs
Check the SDL version information$ sdl-config --version
Compile a legacy SDL 1.2 program using the compatibility layer$ gcc myprogram.c $(sdl-config --cflags --libs) -o myprogram