aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2014-10-07 00:21:40 +0200
committerRiccardo Spagni <ric@spagni.net>2014-10-07 00:21:53 +0200
commit6f65ab1904543f103c0187e2362604cc22f5d337 (patch)
treeff1a23128c9b2e326f97a9aad10251c25cbe3ff0 /src
parentMerge pull request #173 (diff)
parentadded hardcoded checkpoint at block 249380 (diff)
downloadmonero-6f65ab1904543f103c0187e2362604cc22f5d337.tar.xz
Merge pull request #175
b419075 added hardcoded checkpoint at block 249380 (Riccardo Spagni) 7c1d3b5 fixed miniupnpc dynamic target (Riccardo Spagni) 26728d9 mingw library tweaks (Riccardo Spagni) 2cf94c1 fix for mingw not playing nicely with libunbound configure, fix for correctly finding static libs on various operating systems (Riccardo Spagni) b05e27f need to link with -ldl on Linux when building statically (Riccardo Spagni) e55982a set the winsock variable differently on Windows (Riccardo Spagni) 0586a27 fixed configure_command for libunbound under mingw (Riccardo Spagni) f8fd036 turns out mingw does actually produce .a libs and not .dll.a (Riccardo Spagni) 6be3d1d added bison/yacc static build dependency (Riccardo Spagni) 1afba73 quieten CMake when it can't find packages (Riccardo Spagni) 735a017 removed required flags from miniupnp and unbound (Riccardo Spagni) 6b7ac4b enforce static libraries when building statically (Riccardo Spagni) 1d5991e include openssl in linbunbound static linking, added errors for openssl and expat (Riccardo Spagni) 6ef8ae8 reference the correct unbound static lib (Riccardo Spagni) 23cc93c added libtool's install command (Riccardo Spagni) 409e9ba use the correct CMake variable for static builds (Riccardo Spagni) 3a0b00a build libunbound correctly (Riccardo Spagni) 75a616f fix missing parentheses (Riccardo Spagni) 59172ee build libunbound from external if no local libunbound or for static builds (Riccardo Spagni) 1dee71a added static build dependency instructions to README (Riccardo Spagni) ff3a766 added static build dependency instructions to README (Riccardo Spagni) 5829b35 include openssl in linbunbound static linking, added errors for openssl and expat (Riccardo Spagni) c70fa86 reference the correct unbound static lib (Riccardo Spagni) 954a244 added libtool's install command (Riccardo Spagni) fd52015 use the correct CMake variable for static builds (Riccardo Spagni) cc0f6a6 build libunbound correctly (Riccardo Spagni) 8c00098 fix missing parentheses (Riccardo Spagni) cee8747 build libunbound from external if no local libunbound or for static builds (Riccardo Spagni) add1a60 added static build dependency instructions to README (Riccardo Spagni)
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt8
-rw-r--r--src/common/dns_utils.cpp3
-rw-r--r--src/cryptonote_core/checkpoints_create.cpp1
3 files changed, 7 insertions, 5 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 2393213cb..321d0555b 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -63,14 +63,14 @@ add_library(mnemonics ${MNEMONICS})
add_executable(daemon ${DAEMON} ${P2P} ${CRYPTONOTE_PROTOCOL})
add_executable(connectivity_tool ${CONN_TOOL})
add_executable(simpleminer ${MINER})
-target_link_libraries(daemon rpc cryptonote_core crypto common ${UNBOUND_LIBRARIES} ${UPNP_LIBRARIES} ${Boost_LIBRARIES})
-target_link_libraries(connectivity_tool cryptonote_core crypto common ${UNBOUND_LIBRARIES} ${Boost_LIBRARIES})
-target_link_libraries(simpleminer cryptonote_core crypto common ${UNBOUND_LIBRARIES} ${Boost_LIBRARIES})
+target_link_libraries(daemon rpc cryptonote_core crypto common ${UNBOUND_LIBRARY} ${UPNP_LIBRARIES} ${Boost_LIBRARIES} ${EXTRA_LIBRARIES})
+target_link_libraries(connectivity_tool cryptonote_core crypto common ${UNBOUND_LIBRARY} ${Boost_LIBRARIES} ${EXTRA_LIBRARIES})
+target_link_libraries(simpleminer cryptonote_core crypto common ${UNBOUND_LIBRARY} ${Boost_LIBRARIES} ${EXTRA_LIBRARIES})
add_library(rpc ${RPC})
add_library(wallet ${WALLET})
target_link_libraries(wallet mnemonics)
add_executable(simplewallet ${SIMPLEWALLET} )
-target_link_libraries(simplewallet wallet rpc cryptonote_core crypto common mnemonics ${UNBOUND_LIBRARIES} ${UPNP_LIBRARIES} ${Boost_LIBRARIES})
+target_link_libraries(simplewallet wallet rpc cryptonote_core crypto common mnemonics ${UNBOUND_LIBRARY} ${UPNP_LIBRARIES} ${Boost_LIBRARIES} ${EXTRA_LIBRARIES})
add_dependencies(daemon version)
add_dependencies(rpc version)
add_dependencies(simplewallet version)
diff --git a/src/common/dns_utils.cpp b/src/common/dns_utils.cpp
index 8c4038568..d21b538a6 100644
--- a/src/common/dns_utils.cpp
+++ b/src/common/dns_utils.cpp
@@ -29,7 +29,8 @@
#include "common/dns_utils.h"
#include <cstring>
#include <sstream>
-#include <unbound.h>
+// check local first (in the event of static or in-source compilation of libunbound)
+#include "unbound.h"
#include <stdlib.h>
#include "include_base_utils.h"
diff --git a/src/cryptonote_core/checkpoints_create.cpp b/src/cryptonote_core/checkpoints_create.cpp
index 4ac2f0e5b..9ad0a27e8 100644
--- a/src/cryptonote_core/checkpoints_create.cpp
+++ b/src/cryptonote_core/checkpoints_create.cpp
@@ -75,6 +75,7 @@ bool create_checkpoints(cryptonote::checkpoints& checkpoints)
ADD_CHECKPOINT(230700, "93e631240ceac831da1aebfc5dac8f722c430463024763ebafa888796ceaeedf");
ADD_CHECKPOINT(231350, "b5add137199b820e1ea26640e5c3e121fd85faa86a1e39cf7e6cc097bdeb1131");
ADD_CHECKPOINT(232150, "955de8e6b6508af2c24f7334f97beeea651d78e9ade3ab18fec3763be3201aa8");
+ ADD_CHECKPOINT(249380, "654fb0a81ce3e5caf7e3264a70f447d4bd07586c08fa50f6638cc54da0a52b2d");
return true;
}