build: Add -lm to clutter's LIBADD rule

We need to explicitly link against libm when building Clutter, since we
use libm API.

https://bugzilla.gnome.org/show_bug.cgi?id=657529
This commit is contained in:
Emmanuele Bassi 2011-08-29 22:17:53 +01:00
parent 41d22f37ef
commit 96810e1d4d

View File

@ -613,6 +613,7 @@ nodist_clutter_include_HEADERS = \
lib_LTLIBRARIES += libclutter-@CLUTTER_SONAME_INFIX@-@CLUTTER_API_VERSION@.la lib_LTLIBRARIES += libclutter-@CLUTTER_SONAME_INFIX@-@CLUTTER_API_VERSION@.la
libclutter_@CLUTTER_SONAME_INFIX@_@CLUTTER_API_VERSION@_la_LIBADD = \ libclutter_@CLUTTER_SONAME_INFIX@_@CLUTTER_API_VERSION@_la_LIBADD = \
-lm \
$(CLUTTER_LIBS) \ $(CLUTTER_LIBS) \
$(CLUTTER_PROFILE_LIBS) $(CLUTTER_PROFILE_LIBS)