Fixed bug 1543 - Fix dynamic loading of X libs on OpenBSD SDL-1.2
authorSam Lantinga <slouken@libsdl.org>
Wed, 18 Jul 2012 14:14:55 -0700
branchSDL-1.2
changeset 63664488c8602961
parent 6364 4a08ade5b4c9
child 6395 c24bdfd6c595
Fixed bug 1543 - Fix dynamic loading of X libs on OpenBSD

Brad Smith 2012-07-18 13:43:34 PDT
autoconf patch to fix X dynamic loading of libraries on OpenBSD
configure.in
     1.1 --- a/configure.in	Wed Jul 18 13:08:19 2012 -0700
     1.2 +++ b/configure.in	Wed Jul 18 14:14:55 2012 -0700
     1.3 @@ -1034,6 +1034,12 @@
     1.4                      x11_lib='libX11.so'
     1.5                      x11ext_lib='libXext.so'
     1.6                      ;;
     1.7 +                *-*-openbsd*)
     1.8 +                    x11_lib='libX11.so'
     1.9 +                    x11ext_lib='libXext.so'
    1.10 +                    xrender_lib='libXrender.so'
    1.11 +                    xrandr_lib='libXrandr.so'
    1.12 +                    ;;
    1.13                  *)
    1.14                      x11_lib=[`find_lib "libX11.so.*" "$X_LIBS -L/usr/X11/$base_libdir -L/usr/X11R6/$base_libdir" | sed 's/.*\/\(.*\)/\1/; q'`]
    1.15                      x11ext_lib=[`find_lib "libXext.so.*" "$X_LIBS -L/usr/X11/$base_libdir -L/usr/X11R6/$base_libdir" | sed 's/.*\/\(.*\)/\1/; q'`]