From 17848e344e399096a94442eb28073750805d6189 Mon Sep 17 00:00:00 2001 From: jwinterm Date: Sat, 11 Jul 2026 10:46:03 -0400 Subject: [PATCH] Drop miniupnpc from link lists (wownero builds without UPnP) Wownero's build tree ships no libminiupnpc.a and none of its libraries reference UPnP symbols, so FindMonero fails with Xmr_MINIUPNPC_LIBRARY-NOTFOUND and the explorer will not link against current wownero. Remove miniupnpc from the library lists in CMakeLists.txt and cmake/FindMonero.cmake. Build fix from lza_menace's wownero.patch (github.com/lalanza808). Co-authored-by: lza_menace --- CMakeLists.txt | 3 +-- cmake/FindMonero.cmake | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4719295..d6a2a9c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -158,8 +158,7 @@ set(LIBRARIES mnemonics easylogging checkpoints - cncrypto - miniupnpc + cncrypto version epee hardforks diff --git a/cmake/FindMonero.cmake b/cmake/FindMonero.cmake index b80a55e..6804967 100644 --- a/cmake/FindMonero.cmake +++ b/cmake/FindMonero.cmake @@ -31,7 +31,7 @@ set(LIBS common;blocks;cryptonote_basic;cryptonote_core;multisig; cryptonote_protocol;daemonizer;mnemonics;epee;lmdb;device;wallet-crypto; blockchain_db;ringct;wallet;cncrypto;easylogging;version; - checkpoints;randomx;hardforks;miniupnpc) + checkpoints;randomx;hardforks) set(Xmr_INCLUDE_DIRS "${CPP_MONERO_DIR}")