mirror of
https://github.com/yawut/SDL.git
synced 2026-09-26 18:26:39 -05:00
Detect the X11 library on Solaris x86
This commit is contained in:
@@ -762,6 +762,7 @@ AC_HELP_STRING([--enable-x11-shared], [dynamically load X11 support [default=yes
|
||||
x11ext_lib='libXext.so'
|
||||
;;
|
||||
*)
|
||||
if test x$X_LIBS = x; then X_LIBS="-L/usr/lib"; fi
|
||||
x11_lib_spec=`echo $X_LIBS | sed 's/.*-L\([[^ ]]*\).*/\1\/libX11.so.*/'`
|
||||
x11_lib=`ls $x11_lib_spec | sed 's/.*\/\(.*\)/\1/; q'`
|
||||
x11ext_lib_spec=`echo $X_LIBS | sed 's/.*-L\([[^ ]]*\).*/\1\/libXext.so.*/'`
|
||||
|
||||
Reference in New Issue
Block a user