| From 84a22a32eea1c37ae2f12842f8585dbc7c021abf Mon Sep 17 00:00:00 2001 |
| From: Nicolas Boichat <drinkcat@google.com> |
| Date: Mon, 11 Apr 2016 16:57:47 +0800 |
| Subject: [PATCH 39/39] mesa-img: Android build fixups |
| |
| Change-Id: I98d79aa4947a8948195a1d56e0bec0a193e7708b |
| --- |
| configure.ac | 2 +- |
| src/mesa/drivers/dri/pvr/Makefile.am | 1 + |
| 2 files changed, 2 insertions(+), 1 deletion(-) |
| |
| diff --git a/configure.ac b/configure.ac |
| index 67714ee..3f35be8 100644 |
| --- a/configure.ac |
| +++ b/configure.ac |
| @@ -1871,7 +1871,7 @@ if test -n "$with_dri_drivers"; then |
| xpvr) |
| HAVE_PVR_DRI=yes; |
| PKG_CHECK_MODULES([PVR], [libdrm >= $LIBDRM_PVR_REQUIRED]) |
| - DRI_LIB_DEPS="$DRI_LIB_DEPS -lpvr_dri_support" |
| + DRI_LIB_DEPS="$DRI_LIB_DEPS $PVR_LIBS" |
| ;; |
| xswrast) |
| HAVE_SWRAST_DRI=yes |
| diff --git a/src/mesa/drivers/dri/pvr/Makefile.am b/src/mesa/drivers/dri/pvr/Makefile.am |
| index a684bdf..fafcb41 100644 |
| --- a/src/mesa/drivers/dri/pvr/Makefile.am |
| +++ b/src/mesa/drivers/dri/pvr/Makefile.am |
| @@ -35,6 +35,7 @@ AM_CFLAGS = \ |
| -I$(top_builddir)/src/mesa/main \ |
| $(DEFINES) \ |
| $(VISIBILITY_CFLAGS) \ |
| + $(LIBDRM_CFLAGS) \ |
| $(PVR_CFLAGS) \ |
| $(LIBDLOG_CFLAGS) |
| |
| -- |
| 2.7.4 |
| |