root/root-crypto.patch
Mattias Ellert a085075a00 Update to 6.14.02
Make python3 the preferred python for Fedora 29+:
  Give python3 libPyROOT higher priority than python2 libPyROOT
  The python scripts in root-cli use python3-root
  Let root-tmva-python use python3-numpy
Fix build issue with undefined symbols in libSrvAuth
Make ROOTConfig-targets.cmake not error on missing files to work better with
  subpackages
2018-08-07 06:08:54 +02:00

36 lines
1.4 KiB
Diff

From 40ffee7443df59a9702be993839fe6d7c3a6c1f1 Mon Sep 17 00:00:00 2001
From: Mattias Ellert <mattias.ellert@physics.uu.se>
Date: Fri, 3 Aug 2018 11:05:24 +0200
Subject: [PATCH] Add missing libcrypto for undefined references
---
net/rootd/CMakeLists.txt | 3 ++-
net/rpdutils/CMakeLists.txt | 5 +++--
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/net/rootd/CMakeLists.txt b/net/rootd/CMakeLists.txt
index 67d1cd05f1b..bc49e5611f7 100644
--- a/net/rootd/CMakeLists.txt
+++ b/net/rootd/CMakeLists.txt
@@ -4,6 +4,7 @@
############################################################################
ROOT_EXECUTABLE(rootd *.cxx ${CMAKE_SOURCE_DIR}/core/clib/src/strlcpy.c
- LIBRARIES rpdutil rsa ${GLOBUS_LIBRARIES} ${OPENSSL_LIBRARIES})
+ LIBRARIES rpdutil rsa ${GLOBUS_LIBRARIES} ${OPENSSL_LIBRARIES}
+ BUILTINS OPENSSL)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../rpdutils/res)
diff --git a/net/rpdutils/CMakeLists.txt b/net/rpdutils/CMakeLists.txt
index 6a66e4aee7f..ac427424193 100644
--- a/net/rpdutils/CMakeLists.txt
+++ b/net/rpdutils/CMakeLists.txt
@@ -40,5 +40,6 @@ set_property(TARGET rpdutil PROPERTY POSITION_INDEPENDENT_CODE ON)
add_dependencies(rpdutil move_headers)
ROOT_LINKER_LIBRARY(SrvAuth rpdutils.cxx ssh.cxx
- LIBRARIES rpdutil rsa ${GLOBUS_LIBRARIES} DEPENDENCIES Net)
-
+ LIBRARIES rpdutil rsa ${GLOBUS_LIBRARIES} ${OPENSSL_LIBRARIES}
+ DEPENDENCIES Net
+ BUILTINS OPENSSL)