Fix link libraries.
@@ -72,7 +72,7 @@ CPPFLAGS = -I.. -I../libcups -I../pdfio @CPPFLAGS@
CSFLAGS = -s "$(CODESIGN_IDENTITY)" @CSFLAGS@ --timestamp
INSTALL = @INSTALL@
LDFLAGS = @LDFLAGS@ $(OPTIM)
-LIBS = ../pdfio/libpdfio.a -L../libcups/cups `PKG_CONFIG_PATH=../libcups pkg-config --libs cups` @LIBS@
+LIBS = ../pdfio/libpdfio.a -L../libcups/cups `PKG_CONFIG_PATH=../libcups pkg-config --libs cups` @LIBS@ -lm
LN = @LN@
MKDIR = @MKDIR@ -p
OPTIM = @OPTIM@
