From: Jim Evins Date: Sat, 29 May 2010 21:13:13 +0000 (-0400) Subject: Explicitly link with libm. X-Git-Tag: glabels-2_3_0~12 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=06f27cce690f6ee0a498a05ae16d4eeb96cf20c1;p=glabels Explicitly link with libm. --- diff --git a/src/Makefile.am b/src/Makefile.am index a002c69c..b25206db 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 \