Skip to content
Snippets Groups Projects
Unverified Commit 4d0c9c13 authored by Sébastien Blin's avatar Sébastien Blin
Browse files

media: disable shm if libwrap is used

Change-Id: I88872aeeb2ed5ef6fbd34e481035053784f21f70
GitLab: jami-project#1312
parent 2b3ad824
No related branches found
No related tags found
No related merge requests found
......@@ -70,6 +70,9 @@ Lrc::Lrc(MigrationCb willDoMigrationCb, MigrationCb didDoMigrationCb, bool muteD
#ifndef ENABLE_LIBWRAP
// Replace locale for timestamps
std::locale::global(std::locale(""));
#else
if (!getenv("JAMI_DISABLE_SHM"))
setenv("JAMI_DISABLE_SHM", "1", true);
#endif
// Ensure Daemon is running/loaded (especially on non-DBus platforms)
// before instantiating LRC and its members
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment