Skip to content

Commit 4391566

Browse files
committed
Fixed crash during initialization of tgcalls 5.0.0 and 2.7.7 + Include more symbols in .so files in debug builds + Update WebRTC repository URL
1 parent 2fc8033 commit 4391566

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

‎.gitmodules

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
shallow = true
9393
[submodule "webrtc"]
9494
path = app/jni/third_party/webrtc
95-
url = https://github.com/ali-fareed/webrtc
95+
url = https://github.com/TGX-Android/webrtc
9696
shallow = true
9797
[submodule "webrtc_rnnoise"]
9898
path = app/jni/third_party/webrtc_deps/third_party/rnnoise

‎app/jni/CMakeLists.txt

+4
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,11 @@ if ("${CMAKE_BUILD_TYPE}" STREQUAL "Release")
7575
else()
7676
list(APPEND ADD_COMMON_FLAGS
7777
-O2
78+
-fno-omit-frame-pointer
79+
-g
7880
)
81+
set(CMAKE_C_VISIBILITY_PRESET default)
82+
set(CMAKE_CXX_VISIBILITY_PRESET default)
7983
endif()
8084
set(ADD_C_FLAGS ${ADD_COMMON_FLAGS}
8185
-D_LARGEFILE_SOURCE=1

0 commit comments

Comments
 (0)