mirror of
https://github.com/mumble-voip/mumble.git
synced 2025-10-26 11:19:16 +00:00
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:
parent
b5ee1f4c71
commit
ff9086e35b
@ -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
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user