mirror of git://git.sysmocom.de/ofono
main: Quiet ld errors with external ell
When oFono is built with --enable-external-ell, the compiler for some reason does not generate a debug section on some systems. This is due to the fact that l_debug is never called. However, ell also does not call l_debug, yet when built-in ell is used, the section is created by the compiler. For now work around this by adding a no-op l_debug() call in main.c. The real fix is to migrate all of the oFono logging functionality to use ell instead.
This commit is contained in:
parent
5d3640397a
commit
48e31f9fc3
|
@ -236,6 +236,7 @@ int main(int argc, char **argv)
|
||||||
event_loop = g_main_loop_new(NULL, FALSE);
|
event_loop = g_main_loop_new(NULL, FALSE);
|
||||||
|
|
||||||
l_log_set_stderr();
|
l_log_set_stderr();
|
||||||
|
l_debug("");
|
||||||
l_debug_enable("*");
|
l_debug_enable("*");
|
||||||
l_main_init();
|
l_main_init();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue