Skip to content

Commit ca09a43

Browse files
committed
fix: crash with desktop capture with pipewire enabled and clang build
1 parent 25afe52 commit ca09a43

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

webrtc-jni/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@
165165
</os>
166166
</activation>
167167
<properties>
168-
<cmake.toolchain.file>toolchain/x86_64-linux-clang.cmake</cmake.toolchain.file>
168+
<cmake.toolchain.file>toolchain/x86_64-linux-gnu.cmake</cmake.toolchain.file>
169169
</properties>
170170
</profile>
171171
<profile>

webrtc-jni/src/main/cpp/dependencies/webrtc/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ if (PATCHES)
242242
endif()
243243

244244
message(STATUS "WebRTC: generate")
245-
set(COMPILE_ARGS "target_cpu=\"${TARGET_CPU}\" is_clang=${WEBRTC_CLANG} is_debug=false is_component_build=false treat_warnings_as_errors=false rtc_enable_protobuf=false rtc_build_examples=false rtc_include_tests=false use_rtti=true rtc_use_h264=true use_custom_libcxx=false symbol_level=0")
245+
set(COMPILE_ARGS "target_cpu=\"${TARGET_CPU}\" is_clang=${WEBRTC_CLANG} is_debug=false is_component_build=false treat_warnings_as_errors=false rtc_use_pipewire=false rtc_enable_protobuf=false rtc_build_examples=false rtc_include_tests=false use_rtti=true rtc_use_h264=true use_custom_libcxx=false symbol_level=0")
246246
execute_command(
247247
COMMAND gn gen ${WEBRTC_BUILD} --args=${COMPILE_ARGS}
248248
WORKING_DIRECTORY "${WEBRTC_SRC}"

0 commit comments

Comments
 (0)