Add -lm dependency for gettextlib to fix LTO build 13/204413/1 tizen
authorSlava Barinov <v.barinov@samsung.com>
Tue, 23 Apr 2019 09:09:33 +0000 (12:09 +0300)
committerSlava Barinov <v.barinov@samsung.com>
Tue, 23 Apr 2019 15:06:05 +0000 (18:06 +0300)
Change-Id: I834eec5427aff8232b4e6fa81d40ac7f19afa9a1
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
gettext-tools/gnulib-lib/Makefile.am

index 9e43721..dbe1bdf 100644 (file)
@@ -61,6 +61,8 @@ include Makefile.gnulib
 # Which classes to export from the shared library.
 MOOPPFLAGS += --dllexport=styled_ostream
 
+libgettextlib_la_LIBADD += -lm
+
 # Linking with C++ libraries is needed _only_ on mingw and Cygwin.
 if !WOE32DLL
 libgettextlib_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \