diff options
author | Davide Beatrici <davidebeatrici@gmail.com> | 2019-03-27 00:01:54 +0300 |
---|---|---|
committer | Davide Beatrici <davidebeatrici@gmail.com> | 2019-04-05 01:51:23 +0300 |
commit | b1f89643e9af3419ad7cb3fc27b1e878aa3defe1 (patch) | |
tree | 6476908b1335dc1d23d8b89346274900a2915a8f /3rdparty | |
parent | c38d77e0f6890eac3788ea1666992cca0b2d0a38 (diff) |
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.
Diffstat (limited to '3rdparty')
-rw-r--r-- | 3rdparty/opus-build/opus-build.pro | 8 |
1 files changed, 5 insertions, 3 deletions
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 { |