freedreno/ir3: fix standalone compiler meson build
authorRob Clark <robdclark@gmail.com>
Tue, 31 Oct 2017 15:24:06 +0000 (11:24 -0400)
committerRob Clark <robdclark@gmail.com>
Fri, 10 Nov 2017 13:57:33 +0000 (08:57 -0500)
Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/meson.build

index 6f7cf2b3bd43f8870b979ca5664227dd2faad5f2..3fb94ed8cff64bb47f543813bf40416ded933291 100644 (file)
@@ -212,7 +212,17 @@ ir3_compiler = executable(
   'ir3_compiler',
   'ir3/ir3_cmdline.c',
   include_directories : freedreno_includes,
-  dependencies : [dep_libdrm, dep_libdrm_freedreno],
-  link_with : [libfreedreno, libgallium, libmesa_util],
-  build_by_default : false,
+  dependencies : [
+    dep_libdrm,
+    dep_libdrm_freedreno,
+    dependency('threads'),
+  ],
+  link_with : [
+    libfreedreno,
+    libgallium,
+    libnir,
+    libglsl_standalone,
+    libmesa_util,
+  ],
+  build_by_default : true,
 )