[Groonga-commit] groonga/groonga at 5472b64 [master] windows: link dbghelp

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Oct 16 17:03:24 JST 2017


Kouhei Sutou	2017-10-16 17:03:24 +0900 (Mon, 16 Oct 2017)

  New Revision: 5472b649a1ff6685a81681ad0be9645c23fbf9fd
  https://github.com/groonga/groonga/commit/5472b649a1ff6685a81681ad0be9645c23fbf9fd

  Message:
    windows: link dbghelp

  Modified files:
    CMakeLists.txt
    configure.ac
    lib/CMakeLists.txt

  Modified: CMakeLists.txt (+3 -1)
===================================================================
--- CMakeLists.txt    2017-10-16 16:58:08 +0900 (7f3d2ad26)
+++ CMakeLists.txt    2017-10-16 17:03:24 +0900 (b3a96cdc1)
@@ -1,4 +1,4 @@
-# Copyright(C) 2012-2016 Brazil
+# Copyright(C) 2012-2017 Brazil
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -308,6 +308,8 @@ if(WIN32)
   set(HAVE_LIBWS2_32 TRUE)
   set(WS2_32_LIBS "ws2_32.lib")
 
+  SET(DBGHELP_LIBS "dbghelp.lib")
+
   set(USE_SELECT TRUE)
 else()
   ac_check_headers(sys/epoll.h)

  Modified: configure.ac (+1 -1)
===================================================================
--- configure.ac    2017-10-16 16:58:08 +0900 (414876c6a)
+++ configure.ac    2017-10-16 17:03:24 +0900 (bf61b4135)
@@ -677,7 +677,7 @@ int main(int argc, char **argv)
 # MinGW
 if test "$os_win32" = "yes"; then
   WINDOWS_LDFLAGS="-mwindows"
-  WINDOWS_LIBS="-ladvapi32 -lws2_32"
+  WINDOWS_LIBS="-ladvapi32 -lws2_32 -ldbghelp"
 else
   WINDOWS_LDFLAGS=
   WINDOWS_LIBS=

  Modified: lib/CMakeLists.txt (+1 -0)
===================================================================
--- lib/CMakeLists.txt    2017-10-16 16:58:08 +0900 (a90cea004)
+++ lib/CMakeLists.txt    2017-10-16 17:03:24 +0900 (d59c62f90)
@@ -100,6 +100,7 @@ set(GRN_ALL_LIBRARIES
     ${DL_LIBS}
     ${M_LIBS}
     ${WS2_32_LIBS}
+    ${DBGHELP_LIBS}
     ${MRUBY_LIBS}
     ${ONIGMO_LIBS})
 if(GRN_EMBED)
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20171016/306b93cd/attachment.htm 



More information about the Groonga-commit mailing list
Back to archive index