mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-03-19 21:18:23 +01:00
Fix make check when builddir != srcdir.
make check was not able to compile test programs when the builddir is not the same than the srcdir, because relative path were used.
This commit is contained in:
parent
96bb4cf49d
commit
4930ea7dab
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
AM_CPPFLAGS = -I../src
|
AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_builddir)/src
|
||||||
AM_C_CPPFLAGS = -I../src
|
AM_C_CPPFLAGS = -I$(top_srcdir)/src -I$(top_builddir)/src
|
||||||
AM_LDFLAGS = ../src/libmsgpack.la -lgtest_main -pthread
|
AM_LDFLAGS = $(top_builddir)/src/libmsgpack.la -lgtest_main -pthread
|
||||||
|
|
||||||
check_PROGRAMS = \
|
check_PROGRAMS = \
|
||||||
zone \
|
zone \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user