1
0
mirror of https://github.com/moparisthebest/spdylay synced 2024-11-12 04:25:09 -05:00

Use pkg-config to get the cunit library.

This commit is contained in:
Jim Morrison 2012-02-07 14:16:55 -08:00
parent 7f41ec03bd
commit 4ebfa021ba

View File

@ -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