summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/targets/gbm/Makefile.am5
-rw-r--r--src/gallium/targets/opencl/Makefile.am5
-rw-r--r--src/gallium/targets/xa/Makefile.am5
3 files changed, 15 insertions, 0 deletions
diff --git a/src/gallium/targets/gbm/Makefile.am b/src/gallium/targets/gbm/Makefile.am
index ecbb9ad2d22..d5255e94b86 100644
--- a/src/gallium/targets/gbm/Makefile.am
+++ b/src/gallium/targets/gbm/Makefile.am
@@ -50,6 +50,11 @@ gbm_gallium_drm_la_LIBADD = \
$(LIBDRM_LIBS) \
-lm
+if HAVE_DRI
+gbm_gallium_drm_la_LIBADD += \
+ $(top_builddir)/src/gallium/winsys/sw/dri/libswdri.la
+endif
+
if NEED_PIPE_LOADER_XLIB
gbm_gallium_drm_la_LIBADD += \
$(top_builddir)/src/gallium/winsys/sw/xlib/libws_xlib.la \
diff --git a/src/gallium/targets/opencl/Makefile.am b/src/gallium/targets/opencl/Makefile.am
index e82889e0f46..7b32a099b29 100644
--- a/src/gallium/targets/opencl/Makefile.am
+++ b/src/gallium/targets/opencl/Makefile.am
@@ -28,6 +28,11 @@ lib@OPENCL_LIBNAME@_la_LIBADD = \
-lclangBasic \
$(LLVM_LIBS)
+if HAVE_DRI
+lib@OPENCL_LIBNAME@_la_LIBADD += \
+ $(top_builddir)/src/gallium/winsys/sw/dri/libswdri.la
+endif
+
if NEED_PIPE_LOADER_XLIB
lib@OPENCL_LIBNAME@_la_LIBADD += \
$(top_builddir)/src/gallium/winsys/sw/xlib/libws_xlib.la \
diff --git a/src/gallium/targets/xa/Makefile.am b/src/gallium/targets/xa/Makefile.am
index 7ab57ffec56..1cdb21b38b0 100644
--- a/src/gallium/targets/xa/Makefile.am
+++ b/src/gallium/targets/xa/Makefile.am
@@ -48,6 +48,11 @@ libxatracker_la_LIBADD = \
$(LIBUDEV_LIBS) \
$(LIBDRM_LIBS)
+if HAVE_DRI
+libxatracker_la_LIBADD += \
+ $(top_builddir)/src/gallium/winsys/sw/dri/libswdri.la
+endif
+
if NEED_PIPE_LOADER_XLIB
libxatracker_la_LIBADD += \
$(top_builddir)/src/gallium/winsys/sw/xlib/libws_xlib.la \