]> git.sur5r.net Git - glabels/commitdiff
Explicitly link with libm.
authorJim Evins <evins@snaught.com>
Sat, 29 May 2010 21:13:13 +0000 (17:13 -0400)
committerJim Evins <evins@snaught.com>
Sat, 29 May 2010 21:13:13 +0000 (17:13 -0400)
src/Makefile.am

index a002c69c8d394e0aa5292a5ccbe6ce6654e2792e..b25206db5005477d8a54708b3bbcfacc24a396df 100644 (file)
@@ -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                   \