root/root-core-base-test.patch
Mattias Ellert 2f8e3d96d1 Update to 6.24.04
New subpackages: root-roofit-common, root-roofit-dataframe-helpers,
  root-roofit-hs3, root-tmva-sofie and root-tmva-sofie-parser
Removed subpackages: root-memstat and root-montecarlo-vmc
Drop the doxygen generated root-doc package (doxygen runs out of memory)
Dropped patches: 17
New patches: 22
Updated patches: 5
2022-04-05 14:39:21 +02:00

31 lines
1.2 KiB
Diff

From 12d52a60629e1639ced23a1919bd85628d9135ea Mon Sep 17 00:00:00 2001
From: Mattias Ellert <mattias.ellert@physics.uu.se>
Date: Sun, 3 Apr 2022 23:23:00 +0200
Subject: [PATCH] Fix library link order
Fixes undefined references when linking CoreBaseTests
../../../lib/libCling.so.6.26.00: undefined reference to `TMemFile::TMemFile(char const*, TMemFile::ZeroCopyView_t const&)'
../../../lib/libCling.so.6.26.00: undefined reference to `TFile::TFile(char const*, char const*, char const*, int)'
../../../lib/libCling.so.6.26.00: undefined reference to `TFile::~TFile()'
../../../lib/libCling.so.6.26.00: undefined reference to `TStreamerInfo::TStreamerInfo()'
../../../lib/libCling.so.6.26.00: undefined reference to `TMemFile::~TMemFile()'
---
core/base/test/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/base/test/CMakeLists.txt b/core/base/test/CMakeLists.txt
index 4b08cb0390..9b52e83405 100644
--- a/core/base/test/CMakeLists.txt
+++ b/core/base/test/CMakeLists.txt
@@ -22,6 +22,6 @@ ROOT_ADD_GTEST(CoreBaseTests
TExceptionHandlerTests.cxx
TStringTest.cxx
TBitsTests.cxx
- LIBRARIES Core RIO ${extralibs})
+ LIBRARIES ${extralibs} RIO Core)
ROOT_ADD_GTEST(CoreErrorTests TErrorTests.cxx LIBRARIES Core)
--
2.35.1