Building EFL from git on FreeBSD 12.1 according to http://www.enlightenment.org/docs/distros/freebsd-start.md tutorial, I get an error from linker about log2 symbol undefined. The error can be fixed adding '-lm' option to LDFLAGS exported.
diff --git a/src/lib/eo/meson.build b/src/lib/eo/meson.build index 9cd3377..3a4e1e9 100644 --- a/src/lib/eo/meson.build +++ b/src/lib/eo/meson.build @@ -2,6 +2,10 @@ eo_deps =  eo_pub_deps = [eina] eo_ext_deps = [valgrind, dl, execinfo] +if host_os == 'freebsd' or host_os == 'dragonfly' + eo_deps += declare_dependency(link_args : [ '-lm' ]) +endif + pub_eo_files = [ 'efl_object.eo', 'efl_class.eo',
This issue seems to have been around for quite a while. I don't think it's anything to do with @bu5hm4n's changes today.
Can anyone advise on a less clunky fix than the above patch???