c, cpp: fix test problem

- using LDADD instead of LDFLAGS
- fix include path in test.cpp
This commit is contained in:
Kazuki Ohta 2010-01-21 21:55:06 +09:00
parent c69092e110
commit 404a393315
3 changed files with 4 additions and 4 deletions

View file

@ -39,6 +39,6 @@ check_PROGRAMS = \
msgpack_test_SOURCES = test.cpp
msgpack_test_CXXFLAGS = -I$(top_srcdir) -I$(top_srcdir)/c -I$(top_srcdir)/cpp
msgpack_test_LDFLAGS = libmsgpack.la -lgtest_main
msgpack_test_LDADD = libmsgpack.la -lgtest_main
TESTS = $(check_PROGRAMS)