Previous 199869 Revisions Next

r36849 Tuesday 31st March, 2015 at 20:41:46 UTC by Vasantha Crabb
Can't use BGFX or QT without X11 on *NIX
[scripts/src/osd]sdl.lua

trunk/scripts/src/osd/sdl.lua
r245360r245361
206206   SYNC_IMPLEMENTATION = "os2"
207207end
208208
209if _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
220end
221
222209if BASE_TARGETOS=="unix" then
223210   if _OPTIONS["targetos"]=="macosx" then
224211      links {
r245360r245361
243230         }
244231      end
245232   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
246248      linkoptions {
247249         string.gsub(os.outputof(sdlconfigcmd() .. " --libs"), '[\r\n]+', ' '),
248250      }


Previous 199869 Revisions Next


© 1997-2024 The MAME Team