Use pkg-config to get the cunit library.
This commit is contained in:
parent
7f41ec03bd
commit
4ebfa021ba
|
@ -36,8 +36,8 @@ HFILES = spdylay_pq_test.h spdylay_map_test.h spdylay_queue_test.h \
|
|||
main_SOURCES = $(HFILES) $(OBJECTS)
|
||||
|
||||
main_LDADD = ${top_builddir}/lib/libspdylay.la
|
||||
main_LDFLAGS = -static -lcunit -lncurses
|
||||
AM_CFLAGS = -Wall -g -O2 -I${top_srcdir}/lib -I${top_srcdir}/lib/includes
|
||||
main_LDFLAGS = -static `pkg-config --libs cunit` -lncurses
|
||||
AM_CFLAGS = -Wall -g -O2 -I${top_srcdir}/lib -I${top_srcdir}/lib/includes `pkg-config --cflags cunit`
|
||||
|
||||
TESTS = main
|
||||
|
||||
|
|
Loading…
Reference in New Issue