Skip to content
Permalink
Browse files

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
  • Loading branch information...
mkrautz committed Dec 17, 2013
1 parent b5ee1f4 commit ff9086e35bbe29623d912f53b85e99aa0ea86eb3
Showing with 4 additions and 1 deletion.
  1. +4 −1 opus-build/opus-build.pro
@@ -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
}

0 comments on commit ff9086e

Please sign in to comment.
You can’t perform that action at this time.