configure.ac: remove wrong include path. #24675
Don't use $(prefix)/include as include path. It can break things when cross-compiling with DESTDIR and prefix=/usr Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
This commit is contained in:
parent
483db0376d
commit
86a7baa415
@ -64,7 +64,7 @@ PKG_CHECK_MODULES(XORG, [xorg-server >= 1.0.99.901] xproto fontsproto $REQUIRED_
|
||||
sdkdir=$(pkg-config --variable=sdkdir xorg-server)
|
||||
|
||||
CFLAGS="$CFLAGS $XORG_CFLAGS "' -I$(top_srcdir)/src'
|
||||
INCLUDES="$XORG_INCS -I${sdkdir} "'-I$(top_srcdir)/src -I$(prefix)/include'
|
||||
INCLUDES="$XORG_INCS -I${sdkdir} "'-I$(top_srcdir)/src'
|
||||
AC_SUBST([CFLAGS])
|
||||
AC_SUBST([INCLUDES])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user