This commit is contained in:
David Rose
2008-10-03 18:52:34 +00:00
parent 26a541c244
commit 3113912e4d
3 changed files with 18 additions and 0 deletions
+7
View File
@@ -625,6 +625,13 @@
#define SDL_LIBS
#defer HAVE_SDL $[libtest $[SDL_LPATH],$[SDL_LIBS]]
// X11 may need to be linked against for tinydisplay, but probably
// only on a Linux platform.
#define X11_IPATH
#define X11_LPATH /usr/X11R6/lib
#define X11_LIBS X11
#defer HAVE_X11 $[libtest $[X11_LPATH],$[X11_LIBS]]
// How about GLX?
#define GLX_IPATH
#define GLX_LPATH
+8
View File
@@ -135,6 +135,14 @@
#define sdl_framework $[SDL_FRAMEWORK]
#endif
#if $[HAVE_X11]
#define x11_ipath $[wildcard $[X11_IPATH]]
#define x11_lpath $[wildcard $[X11_LPATH]]
#define x11_cflags $[X11_CFLAGS]
#define x11_libs $[X11_LIBS]
#define x11_framework $[X11_FRAMEWORK]
#endif
#if $[HAVE_MESA]
#define mesa_ipath $[wildcard $[MESA_IPATH]]
#define mesa_lpath $[wildcard $[MESA_LPATH]]
+3
View File
@@ -6,6 +6,9 @@
dtoolutil:c dtoolbase:c dtool:m prc:c
#define USE_PACKAGES sdl
#if $[UNIX_PLATFORM]
#define USE_PACKAGES $[USE_PACKAGES] x11
#endif
#begin lib_target
#define TARGET tinydisplay