summaryrefslogtreecommitdiff
path: root/media-gfx/scangearmp/files/link-against-mathlib.patch
blob: 85e3fa38ee1eea2c7027deab88365cdcd4a4fe12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -Nur a/scangearmp/src/Makefile.am b/scangearmp/src/Makefile.am
--- a/scangearmp/src/Makefile.am	2012-08-29 02:24:08.000000000 +0100
+++ b/scangearmp/src/Makefile.am	2016-08-23 20:37:39.287104385 +0100
@@ -44,7 +44,7 @@
 	cnmsnetwork.c cnmsnetwork.h
 
 
-scangearmp_LDADD = @PACKAGE_LIBS@ -lcncpmsui -lsane-canon_mfp -lcncpnet $(INTLLIBS)
+scangearmp_LDADD = @PACKAGE_LIBS@ -lcncpmsui -lsane-canon_mfp -lm -lcncpnet $(INTLLIBS)
 
 scangearmp_CFLAGS = -DV_MAJOR=1 -DV_MINOR=0