summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/libgl-xlib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/targets/libgl-xlib/Makefile')
-rw-r--r--src/gallium/targets/libgl-xlib/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/targets/libgl-xlib/Makefile b/src/gallium/targets/libgl-xlib/Makefile
index 479e0855985..867b2da323b 100644
--- a/src/gallium/targets/libgl-xlib/Makefile
+++ b/src/gallium/targets/libgl-xlib/Makefile
@@ -58,7 +58,9 @@ GL_LIB_DEPS += $(LLVM_LIBS)
LDFLAGS += $(LLVM_LDFLAGS)
endif
+ifeq ($(SHARED_GLAPI),1)
GL_LIB_DEPS := -L$(TOP)/$(LIB_DIR) -l$(GLAPI_LIB) $(GL_LIB_DEPS)
+endif
.SUFFIXES : .cpp