summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/r300')
-rw-r--r--src/gallium/drivers/r300/meson.build5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/meson.build b/src/gallium/drivers/r300/meson.build
index dac0bc833e5..90fa5949fa4 100644
--- a/src/gallium/drivers/r300/meson.build
+++ b/src/gallium/drivers/r300/meson.build
@@ -129,6 +129,11 @@ libr300 = static_library(
dependencies : [dep_libdrm_radeon, dep_llvm],
)
+driver_r300 = declare_dependency(
+ compile_args : '-DGALLIUM_R300',
+ link_with : [libr300, libradeonwinsys],
+)
+
if with_tests
test('r300_compiler_test', executable(
'r300_compiler_test',