From: Jim Meyering Date: Fri, 17 Feb 2012 07:36:57 +0000 (+0100) Subject: examples: link mfcalc with -lm for uses of pow, cos, atan, etc. X-Git-Tag: v2.7.90~520 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/dfd31acea72eecf978f04c7e7d5f8a5e2b0110f4 examples: link mfcalc with -lm for uses of pow, cos, atan, etc. * examples/mfcalc/local.mk (examples_mfcalc_mfcalc_LDADD): Define. --- 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)