[SDL] Statically Link the SDL library
Tim Preager
tpreager at ati.com
Tue Dec 23 15:55:00 PST 2003
> > sdl-config --cflags : -I/usr/include/SDL -D_REENTRANT
> > sdl-config --libs : -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread
>
> You're linking against the shared library...effectively, you've got the
> same thing as before, except it's doing the dlopen() and dlsym() work
> for you.
>
> Make sure you aren't violating the LGPL license, then link against
> /usr/lib/libSDL.a.
>
> --ryan.
I'll check the license, and how do I link against /usr/lib/libSDL.a ???
_______________________________________________
SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20031223/504f93a7/attachment.htm>
More information about the SDL
mailing list