diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-03-27 11:19:54 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-03-27 11:19:54 +0400 |
commit | 31eee77a4503ac38c3d9d96a5f77df86648c700c (patch) | |
tree | 6b7454f75cf78ff485e9b28f5f768daad9cd69b1 /intern/audaspace/CMakeLists.txt | |
parent | 91b2b970ade21a70c3c7289cefff6c2cbb2059cd (diff) |
Fix #33518: Jack sync doesn't work in 2.64, 2.64 or 2.65 stable versions
Added new build option WITH_JACK_DYNLOAD for CMake and
WITH_BF_JACK_DYNLOAD for SCons, which means there'll be
no build-time linking against libjack and getting symbols
from libjack will happen runtime using dlopen and dlsym
tricks.
Alternative would be to use weak linking, but it'll require
having wrapper for preloading libjack.
This new options are disabled by default and they only
intended to be used on linux. Other platforms shall not
be using this and there shall be no functional changes
on non-linux platforms at all.
Diffstat (limited to 'intern/audaspace/CMakeLists.txt')
-rw-r--r-- | intern/audaspace/CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/intern/audaspace/CMakeLists.txt b/intern/audaspace/CMakeLists.txt index ec66cffea3b..21a42553935 100644 --- a/intern/audaspace/CMakeLists.txt +++ b/intern/audaspace/CMakeLists.txt @@ -253,9 +253,15 @@ if(WITH_JACK) ) list(APPEND SRC jack/AUD_JackDevice.cpp + jack/AUD_JackLibrary.cpp jack/AUD_JackDevice.h + jack/AUD_JackLibrary.h ) + + if(WITH_JACK_DYNLOAD) + add_definitions(-DWITH_JACK_DYNLOAD) + endif() endif() if(WITH_CODEC_SNDFILE) |