Commit 5693d700 authored by François Grisez's avatar François Grisez

Use installation prefix for generating the default plugin directory

parent 71335b3f
Pipeline #3160 passed with stages
in 49 minutes and 37 seconds
......@@ -40,4 +40,7 @@
/* Default log directory */
#define DEFAULT_LOG_DIR "@CMAKE_INSTALL_FULL_LOCALSTATEDIR@/log/flexisip"
/* Default directory for Flexisip's plugins */
#define DEFAULT_PLUGINS_DIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/flexisip/plugins"
#define BELR_GRAMMARS_DIR "${BELR_GRAMMARS_DIR}"
......@@ -914,7 +914,7 @@ GenericManager::GenericManager()
"16-sized hexadecimal number. If empty, it will be randomly generated at each start of Flexisip.", ""},
{Boolean, "use-maddr", "Allow flexisip to use maddr in sips connections to verify the CN of the TLS certificate.", "false"},
{Boolean, "debug", "Outputs very detailed logs.", "false"},
{String, "plugins-dir", "Path to the directory where plugins can be found.", "/usr/lib/flexisip/plugins/"},
{String, "plugins-dir", "Path to the directory where plugins can be found.", DEFAULT_PLUGINS_DIR},
{StringList, "plugins", "Plugins to use.", ""},
config_item_end};
......
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