From 78893bc9752413fc7fdd1a02b3f3f6f59f1bb805 Mon Sep 17 00:00:00 2001 From: Bradlee Speice Date: Mon, 10 Jun 2013 16:56:35 -0400 Subject: [PATCH] Fix libmath and X11 libs not being linked --- examples/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/Makefile.am b/examples/Makefile.am index 264ce5c..8109a6e 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -1,6 +1,6 @@ if BUILD_EXAMPLES #Need to include the -Ilibcvautomation so that libcvautomation.h can find everything that it needs -AM_LDFLAGS = -L../libcvautomation/.libs -lcvautomation +AM_LDFLAGS = -L../libcvautomation/.libs -lcvautomation -lm @X11_LIBS@ @XTEST_LIBS@ @CV_LIBS@ AM_CFLAGS = -Wall -Werror -O2 -I$(top_srcdir)/include @X11_CFLAGS@ @XTEST_CFLAGS@ @CV_CFLAGS@ #Build only if we're building the examples