From da08d69b7016b8087d40ccdb94b401f0fdee3446 Mon Sep 17 00:00:00 2001 From: Magne Mahre Date: Thu, 14 Apr 2011 10:08:12 +0200 Subject: [PATCH] Bug#11766320 MYSQL SYMBOLIC LINKS NOT WORKING When MySQL converted from autotools to CMake, the preprocessor symbol USE_SYMDIR was omitted by mistake. Without this symbol, the code for checking .sym files is not built. This patch defines USE_SYMDIR when built on MS Windows. --- cmake/os/Windows.cmake | 3 ++- config.h.cmake | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/cmake/os/Windows.cmake b/cmake/os/Windows.cmake index 0dbfde5294c..b51f3a2dc52 100644 --- a/cmake/os/Windows.cmake +++ b/cmake/os/Windows.cmake @@ -1,4 +1,4 @@ -# Copyright (C) 2010 Sun Microsystems, Inc +# Copyright (C) 2010, 2011, Oracle and/or its affiliates. All rights reserved. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -192,3 +192,4 @@ IF(NOT HAVE_SIZE_OF_SSIZE_T) ENDIF() SET(FN_NO_CASE_SENSE 1) +SET(USE_SYMDIR 1) diff --git a/config.h.cmake b/config.h.cmake index 25d5a93ad18..fdff4222417 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -510,6 +510,7 @@ #cmakedefine EXTRA_DEBUG 1 #cmakedefine BACKUP_TEST 1 #cmakedefine CYBOZU 1 +#cmakedefine USE_SYMDIR 1 /* Character sets and collations */ #cmakedefine MYSQL_DEFAULT_CHARSET_NAME "@MYSQL_DEFAULT_CHARSET_NAME@"