From b1f89643e9af3419ad7cb3fc27b1e878aa3defe1 Mon Sep 17 00:00:00 2001 From: Davide Beatrici Date: Tue, 26 Mar 2019 22:01:54 +0100 Subject: 3rdparty/opus-build: build as shared library even if it's a static build This is the behavior of "celt-0.7.0-build" and "celt-0.11.0-build". We need it for "opus-build" too because we load it at runtime since e0ee016e5c333dabd2603b01decbe8ef2ae030e2. --- 3rdparty/opus-build/opus-build.pro | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to '3rdparty') diff --git a/3rdparty/opus-build/opus-build.pro b/3rdparty/opus-build/opus-build.pro index 86d973c78..b1e76fc65 100644 --- a/3rdparty/opus-build/opus-build.pro +++ b/3rdparty/opus-build/opus-build.pro @@ -20,6 +20,11 @@ VPATH = ../$$SOURCEDIR TARGET = opus DEFINES += HAVE_CONFIG_H +CONFIG(static) { + CONFIG -= static + CONFIG += shared +} + !CONFIG(third-party-warnings) { # We ignore warnings in third party builds. We won't actually look # at them and they clutter out our warnings. @@ -33,9 +38,6 @@ win32 { DEFINES += WIN32 _WIN32 INCLUDEPATH += ../$$BUILDDIR/win32 - CONFIG -= static - CONFIG += shared - CONFIG(sse2) { TARGET_VERSION_EXT = .sse2 } else { -- cgit v1.2.3