Skip to content

Commit 8b4aba8

Browse files
author
Tor Didriksen
committed
WL#10524 Dynamic Linking of OpenSSL in MySQL Server
Add bin symlink to runtime_output_directory
1 parent 10bb2f8 commit 8b4aba8

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

CMakeLists.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -844,6 +844,14 @@ IF(NOT INSTALL_LAYOUT MATCHES "RPM")
844844
)
845845
ENDIF()
846846

847+
IF(UNIX)
848+
EXECUTE_PROCESS(
849+
COMMAND ${CMAKE_COMMAND} -E create_symlink
850+
./runtime_output_directory bin
851+
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
852+
)
853+
ENDIF()
854+
847855
INCLUDE(CPack)
848856

849857
# C compiler flags consist of:

mysql-test/mysql-test-run.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2230,7 +2230,7 @@ sub find_mysqld {
22302230
}
22312231

22322232
return my_find_bin($mysqld_basedir,
2233-
["sql", "libexec", "sbin", "bin"],
2233+
["sql", "runtime_output_directory", "libexec", "sbin", "bin"],
22342234
[@mysqld_names]);
22352235
}
22362236

0 commit comments

Comments
 (0)