examples: link mfcalc with -lm for uses of pow, cos, atan, etc.

* examples/mfcalc/local.mk (examples_mfcalc_mfcalc_LDADD): Define.
This commit is contained in:
Jim Meyering
2012-02-17 08:36:57 +01:00
committed by Akim Demaille
parent c1192f8af3
commit dfd31acea7

View File

@@ -49,6 +49,7 @@ mfcalc_sources = \
$(mfcalc_extracted) $(mfcalc_extracted)
check_PROGRAMS += examples/mfcalc/mfcalc check_PROGRAMS += examples/mfcalc/mfcalc
examples_mfcalc_mfcalc_LDADD = -lm
examples_mfcalc_mfcalc_SOURCES = \ examples_mfcalc_mfcalc_SOURCES = \
$(mfcalc_sources) $(mfcalc_sources)