From 0655294ae42906d713a4eacb3f1c313664df64a4 Mon Sep 17 00:00:00 2001 From: Cerapter Date: Sun, 9 May 2021 16:58:01 +0200 Subject: [PATCH] Add static config for Windows --- core/core.pro | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/core/core.pro b/core/core.pro index 6b01136..d46856e 100644 --- a/core/core.pro +++ b/core/core.pro @@ -3,7 +3,10 @@ QT -= gui TEMPLATE = lib -CONFIG += shared c++11 +# Apparently, Windows needs a static config to make a dynamic library? +# Look, I dunno. +# Linux works just fine with `shared` only. +CONFIG += shared static c++11 # Needed so that Windows doesn't do `release/` and `debug/` subfolders # in the output directory.