Commit 4ebfa021 authored by Jim Morrison's avatar Jim Morrison

Use pkg-config to get the cunit library.

parent 7f41ec03
...@@ -36,8 +36,8 @@ HFILES = spdylay_pq_test.h spdylay_map_test.h spdylay_queue_test.h \ ...@@ -36,8 +36,8 @@ HFILES = spdylay_pq_test.h spdylay_map_test.h spdylay_queue_test.h \
main_SOURCES = $(HFILES) $(OBJECTS) main_SOURCES = $(HFILES) $(OBJECTS)
main_LDADD = ${top_builddir}/lib/libspdylay.la main_LDADD = ${top_builddir}/lib/libspdylay.la
main_LDFLAGS = -static -lcunit -lncurses main_LDFLAGS = -static `pkg-config --libs cunit` -lncurses
AM_CFLAGS = -Wall -g -O2 -I${top_srcdir}/lib -I${top_srcdir}/lib/includes AM_CFLAGS = -Wall -g -O2 -I${top_srcdir}/lib -I${top_srcdir}/lib/includes `pkg-config --cflags cunit`
TESTS = main TESTS = main
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment