[glabels] Explicitly link with libm.



commit 06f27cce690f6ee0a498a05ae16d4eeb96cf20c1
Author: Jim Evins <evins snaught com>
Date:   Sat May 29 17:13:13 2010 -0400

    Explicitly link with libm.

 src/Makefile.am |   18 ++++++++++--------
 1 files changed, 10 insertions(+), 8 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index a002c69..b25206d 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -8,7 +8,7 @@ INCLUDES = \
 	$(GLABELS_CFLAGS) 					\
 	$(LIBEBOOK_CFLAGS)					\
 	$(LIBBARCODE_CFLAGS)					\
-	$(LIBZINT_CFLAGS)						\
+	$(LIBZINT_CFLAGS)					\
 	$(LIBQRENCODE_CFLAGS)					\
 	$(LIBIEC16022_CFLAGS)					\
 	$(DISABLE_DEPRECATED_CFLAGS)				\
@@ -27,18 +27,20 @@ glabels_3_LDADD = 				\
 	$(LIBBARCODE_LIBS)		 	\
 	$(LIBZINT_LIBS)				\
 	$(LIBQRENCODE_LIBS)			\
-	$(LIBIEC16022_LIBS)
+	$(LIBIEC16022_LIBS)			\
+	-lm
 
 glabels_3_batch_LDFLAGS = -export-dynamic
 
-glabels_3_batch_LDADD = 				\
+glabels_3_batch_LDADD = 			\
 	$(GLABELS_LIBS)				\
 	../libglabels/$(LIBGLABELS_BRANCH).la	\
 	$(LIBEBOOK_LIBS)		 	\
 	$(LIBBARCODE_LIBS)		 	\
 	$(LIBZINT_LIBS)				\
 	$(LIBQRENCODE_LIBS)			\
-	$(LIBIEC16022_LIBS)
+	$(LIBIEC16022_LIBS)			\
+	-lm
 
 BUILT_SOURCES = 			\
 	marshal.c			\
@@ -121,8 +123,8 @@ glabels_3_SOURCES = 			\
 	bc.h				\
 	bc-gnubarcode.c			\
 	bc-gnubarcode.h			\
-	bc-zint.c		\
-	bc-zint.h 	\
+	bc-zint.c			\
+	bc-zint.h 			\
 	bc-postnet.c			\
 	bc-postnet.h			\
 	bc-iec16022.c			\
@@ -244,8 +246,8 @@ glabels_3_batch_SOURCES = 		\
 	bc.h				\
 	bc-gnubarcode.c			\
 	bc-gnubarcode.h			\
-	bc-zint.c		\
-	bc-zint.h		\
+	bc-zint.c			\
+	bc-zint.h			\
 	bc-postnet.c			\
 	bc-postnet.h			\
 	bc-iec16022.c			\



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]