util: added missing headers in anon-file
[mesa.git] / src / util / meson.build
index d3c186366fb3a811f99cc432a5220e291627dc67..cf1616e7bc6935e1d73eca7f617e3abe5cc4cdb4 100644 (file)
@@ -23,6 +23,8 @@ inc_util = include_directories('.')
 subdir('xmlpool')
 
 files_mesa_util = files(
+  'anon_file.h',
+  'anon_file.c',
   'bigmath.h',
   'bitscan.c',
   'bitscan.h',
@@ -147,7 +149,7 @@ idep_mesautil = declare_dependency(
   dependencies : [dep_zlib, dep_clock, dep_thread, dep_atomic, dep_m],
 )
 
-libxmlconfig = static_library(
+_libxmlconfig = static_library(
   'xmlconfig',
   files_xmlconfig,
   include_directories : inc_common,
@@ -167,7 +169,7 @@ libxmlconfig = static_library(
 idep_xmlconfig = declare_dependency(
   sources : xmlpool_options_h,
   include_directories : inc_util,
-  link_with : libxmlconfig,
+  link_with : _libxmlconfig,
   dependencies : dep_expat,
 )
 
@@ -214,7 +216,7 @@ if with_tests
        'bitset_test',
        files('bitset_test.cpp'),
        include_directories : inc_common,
-       dependencies : [idep_mesautil, dep_thread, dep_dl, idep_gtest],
+       dependencies : [idep_mesautil, idep_gtest],
      ),
      suite : ['util'],
   )