mirror of
https://git.jami.net/savoirfairelinux/jami-daemon.git
synced 2025-08-07 22:02:12 +08:00
Replace DRing for libjami
It's not possible to replace the DRing namespace for jami because of conflicts with namespaces and classes defined under the jami namespace. Thus, use libjami as the namespace. Script to reproduce: rg -l DRing | sort | uniq | awk '$0 !~ /NEWS/' | xargs sed -i -e 's|DRing|libjami|g' rg -l DRING_ | sort | uniq | xargs sed -i -e 's|DRING_|LIBJAMI_|g' sed -i -e 's|dring|jami|g' src/jami/CMakeLists.txt sed -i -e 's|dring|jami|g' src/jami/def.h Change-Id: I80e8c8b58a7586527a016bbef850bab07869c473
This commit is contained in:

committed by
Sébastien Blin

parent
94ec7eea0c
commit
d54a84ec0b
@ -153,7 +153,7 @@ add_project_arguments('-DHAVE_CONFIG_H', language: 'c')
|
||||
#################################################
|
||||
# Build targets
|
||||
#################################################
|
||||
add_project_arguments('-DRING_BUILD', language: ['c', 'cpp'])
|
||||
add_project_arguments('-LIBJAMI_BUILD', language: ['c', 'cpp'])
|
||||
if get_option('default_library') != 'static'
|
||||
add_project_arguments('-Djami_EXPORTS', language: ['c', 'cpp'])
|
||||
endif
|
||||
|
Reference in New Issue
Block a user