[Groonga-commit] groonga/groonga at 2516b58 [master] cmake windows: set CMAKE_SHARED_LIBRARY_PREFIX explicitly (#956)

アーカイブの一覧に戻る
Kentaro Hayashi null+****@clear*****
Thu May 9 18:36:42 JST 2019


Kentaro Hayashi	2019-05-09 18:36:42 +0900 (Thu, 09 May 2019)

  Revision: 2516b586737f541bc7e4638fbbd030852e2ca017
  https://github.com/groonga/groonga/commit/2516b586737f541bc7e4638fbbd030852e2ca017

  Message:
    cmake windows: set CMAKE_SHARED_LIBRARY_PREFIX explicitly (#956)
    
    On windows, CMAKE_SHARED_LIBRARY_PREFIX is set to "", it causes
    mismatch between target dll name (GRN_DLL_FILENAME) and actual
    file name (libgroonga.dll). Because of this, grn_windows_base_dir
    returns incorrect path.
    
    GitHub: #953
    
    Reported by @yagisumi. Thanks!!!

  Modified files:
    CMakeLists.txt

  Modified: CMakeLists.txt (+1 -1)
===================================================================
--- CMakeLists.txt    2019-05-09 08:48:18 +0900 (639f531b7)
+++ CMakeLists.txt    2019-05-09 18:36:42 +0900 (66d5f446c)
@@ -143,7 +143,7 @@ set(GRN_PLUGINS_DIR
   "${CMAKE_INSTALL_PREFIX}/${GRN_RELATIVE_PLUGINS_DIR}")
 set(GRN_PLUGIN_SUFFIX "${CMAKE_SHARED_MODULE_SUFFIX}")
 set(GRN_DLL_FILENAME
-  "${CMAKE_SHARED_LIBRARY_PREFIX}groonga${CMAKE_SHARED_LIBRARY_SUFFIX}")
+  "libgroonga${CMAKE_SHARED_LIBRARY_SUFFIX}")
 set(GRN_QUERY_EXPANDER_TSV_RELATIVE_SYNONYMS_FILE
   "${GRN_CONFIG_DIR}/synonyms.tsv")
 set(GRN_QUERY_EXPANDER_TSV_SYNONYMS_FILE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20190509/5e24c77c/attachment.html>


More information about the Groonga-commit mailing list
アーカイブの一覧に戻る