build: make eina drag in the -lm flag
authorMarcel Hollerbach <mail@marcel-hollerbach.de>
Wed, 27 May 2020 16:21:37 +0000 (18:21 +0200)
committerJongmin Lee <jm105.lee@samsung.com>
Sun, 31 May 2020 21:34:18 +0000 (06:34 +0900)
eina uses math.h we need to drag in this flag everywhere.

Differential Revision: https://phab.enlightenment.org/D11896

src/lib/eina/meson.build

index 0a25cb8..dcdd44d 100644 (file)
@@ -1,6 +1,6 @@
 eina_deps = [dl]
 eina_deps += tracing_deps
-eina_pub_deps = [thread_dep]
+eina_pub_deps = [thread_dep, m]
 eina_pc_deps = [m, rt, dl, thread_dep] #special case, this array is taken to drag in external deps to efl-one
 eina_ext_deps = eina_pc_deps