MXS-1957 Add MariaDBAuth alias
This commit is contained in:
@ -5,7 +5,7 @@ endif()
|
||||
add_subdirectory(GSSAPI)
|
||||
add_subdirectory(HTTPAuth)
|
||||
add_subdirectory(MaxAdminAuth)
|
||||
add_subdirectory(MySQLAuth)
|
||||
add_subdirectory(MariaDBAuth)
|
||||
add_subdirectory(MariaDBBackendAuth)
|
||||
add_subdirectory(NullAuthAllow)
|
||||
add_subdirectory(NullAuthDeny)
|
||||
|
||||
8
server/modules/authenticator/MariaDBAuth/CMakeLists.txt
Normal file
8
server/modules/authenticator/MariaDBAuth/CMakeLists.txt
Normal file
@ -0,0 +1,8 @@
|
||||
if(SQLITE_VERSION VERSION_LESS 3.3 AND NOT BUILD_SYSTEM_TESTS)
|
||||
message(FATAL_ERROR "SQLite version 3.3 or higher is required")
|
||||
else()
|
||||
add_library(mariadbauth SHARED mysql_auth.cc dbusers.cc)
|
||||
target_link_libraries(mariadbauth maxscale-common mysqlcommon)
|
||||
set_target_properties(mariadbauth PROPERTIES VERSION "1.0.0" LINK_FLAGS -Wl,-z,defs)
|
||||
install_module(mariadbauth core)
|
||||
endif()
|
||||
@ -12,7 +12,7 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#define MXS_MODULE_NAME "MySQLAuth"
|
||||
#define MXS_MODULE_NAME "MariaDBAuth"
|
||||
|
||||
#include <maxscale/ccdefs.hh>
|
||||
|
||||
@ -1,8 +0,0 @@
|
||||
if(SQLITE_VERSION VERSION_LESS 3.3 AND NOT BUILD_SYSTEM_TESTS)
|
||||
message(FATAL_ERROR "SQLite version 3.3 or higher is required")
|
||||
else()
|
||||
add_library(mysqlauth SHARED mysql_auth.cc dbusers.cc)
|
||||
target_link_libraries(mysqlauth maxscale-common mysqlcommon)
|
||||
set_target_properties(mysqlauth PROPERTIES VERSION "1.0.0" LINK_FLAGS -Wl,-z,defs)
|
||||
install_module(mysqlauth core)
|
||||
endif()
|
||||
Reference in New Issue
Block a user