trunk/scripts/src/osd/sdl.lua
| r245360 | r245361 | |
| 206 | 206 | SYNC_IMPLEMENTATION = "os2" |
| 207 | 207 | end |
| 208 | 208 | |
| 209 | | if _OPTIONS["NO_X11"]~="1" then |
| 210 | | libdirs { |
| 211 | | "/usr/X11/lib", |
| 212 | | "/usr/X11R6/lib", |
| 213 | | "/usr/openwin/lib", |
| 214 | | } |
| 215 | | if _OPTIONS["SDL_LIBVER"]=="sdl" then |
| 216 | | links { |
| 217 | | "X11", |
| 218 | | } |
| 219 | | end |
| 220 | | end |
| 221 | | |
| 222 | 209 | if BASE_TARGETOS=="unix" then |
| 223 | 210 | if _OPTIONS["targetos"]=="macosx" then |
| 224 | 211 | links { |
| r245360 | r245361 | |
| 243 | 230 | } |
| 244 | 231 | end |
| 245 | 232 | else |
| 233 | if _OPTIONS["NO_X11"]=="1" then |
| 234 | _OPTIONS["USE_QTDEBUG"] = "0" |
| 235 | USE_BGFX = 0 |
| 236 | else |
| 237 | libdirs { |
| 238 | "/usr/X11/lib", |
| 239 | "/usr/X11R6/lib", |
| 240 | "/usr/openwin/lib", |
| 241 | } |
| 242 | if _OPTIONS["SDL_LIBVER"]=="sdl" then |
| 243 | links { |
| 244 | "X11", |
| 245 | } |
| 246 | end |
| 247 | end |
| 246 | 248 | linkoptions { |
| 247 | 249 | string.gsub(os.outputof(sdlconfigcmd() .. " --libs"), '[\r\n]+', ' '), |
| 248 | 250 | } |