summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mesa/program/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/program/Makefile.am b/src/mesa/program/Makefile.am
index db6616c7e38..ea412f56f74 100644
--- a/src/mesa/program/Makefile.am
+++ b/src/mesa/program/Makefile.am
@@ -35,7 +35,7 @@ DRICORE_LIB = libdricore_program.la
endif
noinst_LTLIBRARIES = $(DRICORE_LIB)
-if NEED_LIBMESA
+if HAVE_GALLIUM
noinst_LTLIBRARIES += libprogram.la
else
check_LTLIBRARIES = libprogram.la