From 74a90651c769983335144554a395d4e616221d04 Mon Sep 17 00:00:00 2001 From: redfish Date: Sat, 3 Sep 2016 05:57:26 +0000 Subject: [PATCH] pro: option for static build Distribution packages want dynamic builds. --- monero-core.pro | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/monero-core.pro b/monero-core.pro index 4b2bbf25..057b3368 100644 --- a/monero-core.pro +++ b/monero-core.pro @@ -69,8 +69,10 @@ win32 { } linux { + CONFIG(static) { + LIBS+= -Wl,-Bstatic + } LIBS+= \ - -Wl,-Bstatic \ -lboost_serialization \ -lboost_thread \ -lboost_system \