From 5ed8e7c5509c4afe1f7bf7ddcc483eea20263361 Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Mon, 6 Feb 2012 17:47:48 +0800 Subject: [PATCH] mesa: enable remap table when --enable-shared-glapi As libGL will use libglapi for function lookups, we need to enable the remap table. --- configure.ac | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/configure.ac b/configure.ac index e859d4c..69af7ab 100644 --- a/configure.ac +++ b/configure.ac @@ -698,6 +698,9 @@ AC_ARG_ENABLE([shared-glapi], SHARED_GLAPI="0" if test "x$enable_shared_glapi" = xyes; then SHARED_GLAPI="1" + # libGL will use libglapi for function lookups (IN_DRI_DRIVER means to use + # the remap table) + DEFINES="$DEFINES -DIN_DRI_DRIVER" fi AC_SUBST([SHARED_GLAPI]) -- 1.7.8.3