summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2012-02-17 08:36:57 +0100
committerAkim Demaille <demaille@gostai.com>2012-02-17 09:41:05 +0100
commitdfd31acea72eecf978f04c7e7d5f8a5e2b0110f4 (patch)
tree5a3ecde1a08ab2bcc4d14c98bebddd3b45576026
parentc1192f8af3fff4bf860a9e1583f704dbe2b3c0ac (diff)
downloadbison-dfd31acea72eecf978f04c7e7d5f8a5e2b0110f4.tar.gz
examples: link mfcalc with -lm for uses of pow, cos, atan, etc.
* examples/mfcalc/local.mk (examples_mfcalc_mfcalc_LDADD): Define.
-rw-r--r--examples/mfcalc/local.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/mfcalc/local.mk b/examples/mfcalc/local.mk
index aae9e04b..e34d8d7b 100644
--- a/examples/mfcalc/local.mk
+++ b/examples/mfcalc/local.mk
@@ -49,6 +49,7 @@ mfcalc_sources = \
$(mfcalc_extracted)
check_PROGRAMS += examples/mfcalc/mfcalc
+examples_mfcalc_mfcalc_LDADD = -lm
examples_mfcalc_mfcalc_SOURCES = \
$(mfcalc_sources)