summaryrefslogtreecommitdiff
path: root/utils/hp2ps
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2010-09-30 19:25:52 +0000
committerIan Lynagh <igloo@earth.li>2010-09-30 19:25:52 +0000
commit5d0747c093ee5b45e08871503c6210662958657b (patch)
tree13471aa882b09806a645cbae917301a1a9b12d6d /utils/hp2ps
parent915ea7223dfd3050922008b0ca6dfdf921b31578 (diff)
downloadhaskell-5d0747c093ee5b45e08871503c6210662958657b.tar.gz
Handle EXTRA_LIBRARIES when building programs
And set hp2ps's EXTRA_LIBRARIES. Based on a patch from Sergei Trofimovich.
Diffstat (limited to 'utils/hp2ps')
-rw-r--r--utils/hp2ps/ghc.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/hp2ps/ghc.mk b/utils/hp2ps/ghc.mk
index 86ae7282b5..d2d31470e6 100644
--- a/utils/hp2ps/ghc.mk
+++ b/utils/hp2ps/ghc.mk
@@ -15,11 +15,11 @@ utils/hp2ps_dist_C_SRCS = AreaBelow.c Curves.c Error.c Main.c \
HpFile.c Marks.c Scale.c TraceElement.c \
Axes.c Dimensions.c Key.c PsFile.c Shade.c \
Utilities.c
+utils/hp2ps_dist_EXTRA_LIBRARIES = m
utils/hp2ps_dist_PROG = hp2ps$(exeext)
utils/hp2ps_dist_INSTALL = YES
utils/hp2ps_CC_OPTS += -Iincludes
-utils/hp2ps_CC_OPTS += -lm
$(eval $(call build-prog,utils/hp2ps,dist,0))