mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Fix out of tree builds
Out of tree builds are currently broken because $(top_srcdir)src/include is not in the search path. In tree builds are working because autconf add $(top_builddir)/src/include to the search path for the generated config.h. As $(top_builddir) and $(top_srcdir) are identical during in tree builds the search path still end up beeing somehow correct. To fix this add -I$(srcdir)/include to the CPPFLAGS in Makefile.am.
This commit is contained in:
parent
39a8f63640
commit
4e5525a48f
1 changed files with 1 additions and 0 deletions
|
|
@ -1,3 +1,4 @@
|
|||
AM_CPPFLAGS = -I$(srcdir)/include
|
||||
AM_CFLAGS = -Wall
|
||||
bin_PROGRAMS = tio
|
||||
tio_SOURCES = tty.c \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue