mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 19:58:09 +02:00
loader: unconditionally add AM_CPPFLAGS to libloader_la_CPPFLAGS
It seems that due to the conditional autotools is getting confused and
forgetting to add AM_CPPFLAGS when building libloader (when
HAVE_DRICOMMON is not set).
Cc: mesa-stable@lists.freedesktop.org
Fixes: 5a79e0a8e3 "automake: loader: rework the CPPFLAGS"
Reported-by: Pali Rohár <pali.rohar@gmail.com>
Tested-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
parent
8a6d476588
commit
b9b0a1f58e
1 changed files with 2 additions and 2 deletions
|
|
@ -34,12 +34,12 @@ AM_CPPFLAGS = \
|
|||
$(LIBDRM_CFLAGS) \
|
||||
$(LIBUDEV_CFLAGS)
|
||||
|
||||
libloader_la_CPPFLAGS = $(AM_CPPFLAGS)
|
||||
libloader_la_SOURCES = $(LOADER_C_FILES)
|
||||
libloader_la_LIBADD =
|
||||
|
||||
if HAVE_DRICOMMON
|
||||
libloader_la_CPPFLAGS = \
|
||||
$(AM_CPPFLAGS) \
|
||||
libloader_la_CPPFLAGS += \
|
||||
-I$(top_srcdir)/src/mesa/drivers/dri/common/ \
|
||||
-I$(top_builddir)/src/mesa/drivers/dri/common/ \
|
||||
-I$(top_srcdir)/src/mesa/ \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue