[Xcb-commit] libxcb: configure.ac

Uli Schlachter psychon at kemper.freedesktop.org
Sat Jul 4 07:14:42 PDT 2015


 configure.ac |    9 +++++++++
 1 file changed, 9 insertions(+)

New commits:
commit c5d923d8ff4a9b9fc1aef1c6c6918bab15098d34
Author: Jon TURNEY <jon.turney at dronecode.org.uk>
Date:   Tue Mar 17 17:49:14 2015 +0000

    Link with winsock library for socket functions on MinGW
    
    Signed-off-by: Jon TURNEY <jon.turney at dronecode.org.uk>

diff --git a/configure.ac b/configure.ac
index 6e7e9c3..cce0ddb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -206,6 +206,15 @@ case $host_os in
         ;;
 esac
 
+dnl Link with winsock for socket functions on MinGW
+case $host_os in
+        *mingw*)
+                AC_CHECK_LIB([ws2_32],[main])
+                ;;
+        *)
+                ;;
+esac
+
 XCB_EXTENSION(Composite, yes)
 XCB_EXTENSION(Damage, yes)
 XCB_EXTENSION(DPMS, yes)


More information about the xcb-commit mailing list