Re: [PATCH 2/2] gnu: sdl: Explicity use mesa as OpenGL driver.

2015-03-23 Thread 宋文武
Ludovic Courtès l...@gnu.org writes:

 宋文武 iyzs...@gmail.com skribis:

 * gnu/packages/sdl.scm (sdl)[arguments]#:configure-flags: Add
   'LDFLAGS=-lGL'.

 [...]

 #:configure-flags '(--disable-alsa-shared
 --disable-pulseaudio-shared
 -   --disable-x11-shared)
 +   --disable-x11-shared
 +   ;; Explicity link with mesa as OpenGL driver.
 +   LDFLAGS=-lGL)

 Could you explain in the comment why this is necessary?  I guess that’s
 to make sure Mesa in the libsdl’s RUNPATH?
Done and pushed, thanks for review!

 Thanks,
 Ludo’.



Re: [PATCH 2/2] gnu: sdl: Explicity use mesa as OpenGL driver.

2015-03-21 Thread Ludovic Courtès
宋文武 iyzs...@gmail.com skribis:

 * gnu/packages/sdl.scm (sdl)[arguments]#:configure-flags: Add
   'LDFLAGS=-lGL'.

[...]

 #:configure-flags '(--disable-alsa-shared
 --disable-pulseaudio-shared
 -   --disable-x11-shared)
 +   --disable-x11-shared
 +   ;; Explicity link with mesa as OpenGL driver.
 +   LDFLAGS=-lGL)

Could you explain in the comment why this is necessary?  I guess that’s
to make sure Mesa in the libsdl’s RUNPATH?

Thanks,
Ludo’.