1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
|
From: Ole Streicher <olebole@debian.org>
Date: Fri, 22 Jul 2016 22:19:02 +0200
Subject: Add a missing lib to a test binary
---
src/Makefile.am | 2 +-
test/C/Makefile.am | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/Makefile.am b/src/Makefile.am
index 1c3053e..5368e4a 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -47,7 +47,7 @@ libgiza_la_CPPFLAGS = $(X11_CFLAGS) $(CAIRO_CFLAGS) $(FT_CFLAGS) $(FC_CFLAGS)
libcpgplot_la_CPPFLAGS = $(libgiza_la_CPPFLAGS)
libgiza_la_LDFLAGS = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
- -no-undefined $(X11_LIBS) $(CAIRO_LIBS) $(FT_LIBS) $(FC_LIBS)
+ -no-undefined $(X11_LIBS) $(CAIRO_LIBS) $(FT_LIBS) $(FC_LIBS) -lm
libcpgplot_la_SOURCES = giza-cpgplot.c
diff --git a/test/C/Makefile.am b/test/C/Makefile.am
index a243865..e3467da 100644
--- a/test/C/Makefile.am
+++ b/test/C/Makefile.am
@@ -1,6 +1,6 @@
AM_CFLAGS = $(WERROR_CFLAGS) $(WARN_CFLAGS)
AM_CPPFLAGS = -I../../src
-AM_LDFLAGS = -no-install -lm -lX11
+AM_LDFLAGS = -no-install -lm -lX11 -lcairo
LDADD = ../../src/libgiza.la
CLEANFILES = *.png *.pdf *.svg
|