summaryrefslogblamecommitdiff
path: root/net-p2p/p2pool/files/3.9-build-randomx-static.patch
blob: 0ad0805884741680b57b76620fe03aef84f99ea4 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                                                              
diff --git a/./external/src/RandomX/CMakeLists.txt.ori b/./external/src/RandomX/CMakeLists.txt
index afaf0ee8d410..17f4dc2b57cd 100644
--- a/./external/src/RandomX/CMakeLists.txt.ori
+++ b/./external/src/RandomX/CMakeLists.txt
@@ -232,7 +232,7 @@ endif()
 
 set(RANDOMX_INCLUDE "${CMAKE_CURRENT_SOURCE_DIR}/src" CACHE STRING "RandomX Include path")
 
-add_library(randomx ${randomx_sources})
+add_library(randomx STATIC ${randomx_sources})
 
 set_property(TARGET randomx PROPERTY POSITION_INDEPENDENT_CODE ON)
 set_property(TARGET randomx PROPERTY CXX_STANDARD 14)