]> git.saurik.com Git - bison.git/commitdiff
examples: link mfcalc with -lm for uses of pow, cos, atan, etc.
authorJim Meyering <meyering@redhat.com>
Fri, 17 Feb 2012 07:36:57 +0000 (08:36 +0100)
committerAkim Demaille <demaille@gostai.com>
Fri, 17 Feb 2012 08:41:05 +0000 (09:41 +0100)
* examples/mfcalc/local.mk (examples_mfcalc_mfcalc_LDADD): Define.

examples/mfcalc/local.mk

index aae9e04b9c56188d9b8edbfd334a69d60bda0bda..e34d8d7bb66350ad3fd32403705fc2b1d3629bbf 100644 (file)
@@ -49,6 +49,7 @@ mfcalc_sources =                              \
   $(mfcalc_extracted)
 
 check_PROGRAMS += examples/mfcalc/mfcalc
+examples_mfcalc_mfcalc_LDADD = -lm
 examples_mfcalc_mfcalc_SOURCES =               \
   $(mfcalc_sources)