diff options
-rw-r--r-- | .appveyor.yml | 1 | ||||
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | doc/compile_Linux.md | 2 |
3 files changed, 4 insertions, 1 deletions
diff --git a/.appveyor.yml b/.appveyor.yml index 1dc313b..7989cb6 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -28,4 +28,5 @@ build_script: test_script: - cd c:\xmr-stak\build\bin\Release - dir + - copy C:\xmr-stak-dep\openssl\bin\* . - xmr-stak.exe --help diff --git a/CMakeLists.txt b/CMakeLists.txt index 33e97ea..87c0e8a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -446,7 +446,7 @@ add_library(xmr-stak-c ${SRCFILES_C} ) set_property(TARGET xmr-stak-c PROPERTY C_STANDARD 99) -target_link_libraries(xmr-stak-c ${LIBS}) +target_link_libraries(xmr-stak-c ${MHTD} ${LIBS}) # compile generic backend files file(GLOB BACKEND_CPP diff --git a/doc/compile_Linux.md b/doc/compile_Linux.md index cf99121..6b5c819 100644 --- a/doc/compile_Linux.md +++ b/doc/compile_Linux.md @@ -73,5 +73,7 @@ If you want to compile the binary without installing libraries / compiler or jus ``` cmake -DCMAKE_LINK_STATIC=ON -DXMR-STAK_COMPILE=generic . make install + cd bin\Release + copy C:\xmr-stak-dep\openssl\bin\* . ``` Note - cmake caches variables, so if you want to do a dynamic build later you need to specify '-DCMAKE_LINK_STATIC=OFF' |