[MDEV-20463] Missing include dir in auth_ed25519 plugin Created: 2019-09-01  Updated: 2019-09-13

Status: Open
Project: MariaDB Server
Component/s: Plugins
Affects Version/s: 10.2.26
Fix Version/s: 10.2

Type: Bug Priority: Major
Reporter: Bernard Spil Assignee: Oleksandr Byelkin
Resolution: Unresolved Votes: 0
Labels: None
Environment:

FreeBSD 12.0
clang 6.0.1
cmake 3.15.2



 Description   

Build fails on missing include mysql/service_sha2.h

Adding ../../include to CMakeLists in plugin/auth_ed25519/CMakeFiles.txt fixes build

--- plugin/auth_ed25519/CMakeLists.txt.orig     2019-07-26 21:26:44 UTC
+++ plugin/auth_ed25519/CMakeLists.txt
@@ -11,7 +11,7 @@ SET(REF10_SOURCES
       ref10/ge_sub.c ref10/ge_tobytes.c ref10/keypair.c ref10/open.c
       ref10/sc_muladd.c ref10/sc_reduce.c ref10/sign.c ref10/verify.c)
 
-INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
+INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR} ../../include)
 
 ADD_CONVENIENCE_LIBRARY(ref10 ${REF10_SOURCES})
 IF(MSVC)


Generated at Thu Feb 08 08:59:39 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.