Fix include paths for out-of-tree builds
This commit is contained in:
parent
70d3b20ba6
commit
55e55a3f92
|
@ -20,7 +20,7 @@
|
|||
|
||||
ACLOCAL_AMFLAGS = -I autostuff
|
||||
|
||||
AM_CPPFLAGS = -Isrc -DFIRMWARE_DIR='"$(FIRMWARE_DIR)"'
|
||||
AM_CPPFLAGS = -I$(srcdir)/src -DFIRMWARE_DIR='"$(FIRMWARE_DIR)"'
|
||||
|
||||
lib_LTLIBRARIES = libsigrok.la
|
||||
|
||||
|
|
|
@ -404,8 +404,8 @@ AC_CHECK_HEADERS([sys/mman.h sys/ioctl.h], [], [HW_BEAGLELOGIC="no"])
|
|||
|
||||
AC_SUBST(SR_PKGLIBS)
|
||||
|
||||
CFLAGS="$CFLAGS -I./include/libsigrok $LIB_CFLAGS"
|
||||
CXXFLAGS="$CXXFLAGS -I./include -I./bindings/cxx/include $LIB_CFLAGS"
|
||||
CFLAGS="$CFLAGS -Iinclude/libsigrok -I${srcdir}/include/libsigrok $LIB_CFLAGS"
|
||||
CXXFLAGS="$CXXFLAGS -Iinclude/libsigrok -I${srcdir}/include -I${srcdir}/bindings/cxx/include $LIB_CFLAGS"
|
||||
|
||||
# Find Java compiler and JNI includes for Java bindings.
|
||||
|
||||
|
|
Loading…
Reference in New Issue