Commit 15f375cd authored by Ghislain MARY's avatar Ghislain MARY

Build opus statically for bb10, python and web plugin.

parent 7aae684c
......@@ -87,7 +87,7 @@ list(APPEND EP_ms2_CMAKE_OPTIONS "-DENABLE_RELATIVE_PREFIX=YES")
list(APPEND EP_ms2_CMAKE_OPTIONS "-DENABLE_QSA=YES" "-DENABLE_ALSA=NO" "-DENABLE_PULSEAUDIO=NO" "-DENABLE_OSS=NO" "-DENABLE_GLX=NO" "-DENABLE_X11=NO" "-DENABLE_XV=NO")
# opus
set(EP_opus_LINKING_TYPE "--enable-static" "--disable-shared")
set(EP_opus_LINKING_TYPE "-DENABLE_STATIC=YES")
# ortp
set(EP_ortp_LINKING_TYPE "-DENABLE_STATIC=YES")
......
......@@ -115,10 +115,7 @@ set(EP_msopenh264_LINKING_TYPE "-DENABLE_STATIC=YES")
set(EP_mswasapi_LINKING_TYPE "-DENABLE_STATIC=YES")
# opus
if(NOT MSVC)
# TODO: Also build statically on windows
set(EP_opus_LINKING_TYPE "--enable-static" "--disable-shared" "--with-pic")
endif()
set(EP_opus_LINKING_TYPE "-DENABLE_STATIC=YES")
# ortp
set(EP_ortp_LINKING_TYPE "-DENABLE_STATIC=YES")
......
......@@ -99,10 +99,7 @@ endif()
set(EP_opencoreamr_LINKING_TYPE "--enable-static" "--disable-shared" "--with-pic")
# opus
if(NOT MSVC)
# TODO: Also build statically on windows
set(EP_opus_LINKING_TYPE "--enable-static" "--disable-shared" "--with-pic")
endif()
set(EP_opus_LINKING_TYPE "-DENABLE_STATIC=YES")
# sqlite3
set(EP_sqlite3_LINKING_TYPE "-DENABLE_STATIC=YES")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment