opus-build: build as C++ on Unix-like systems.

As stated in the .pro, this forces Opus symbols to be
name-mangled, thus avoiding potential clashes with
libcelt symbols.

Fixes #1096
This commit is contained in:
Mikkel Krautz 2013-12-17 22:20:17 +01:00
parent b5ee1f4c71
commit ff9086e35b

View File

@ -44,7 +44,10 @@ win32 {
unix {
CONFIG += staticlib
QMAKE_CFLAGS += -x c
# Build as C++ to ensure symbols are C++-mangled.
# This avoids symbol clashes with CELT 0.7 when
# building Mumble with CONFIG(sbcelt).
QMAKE_CFLAGS += -x c++
INCLUDEPATH += ../$$BUILDDIR
}