build: remove unnecessary environment variables
authorJohn Marshall <jtm.home@gmail.com>
Wed, 24 Jun 2020 09:57:26 +0000 (10:57 +0100)
committerJohn Marshall <jtm.home@gmail.com>
Thu, 25 Jun 2020 07:06:51 +0000 (08:06 +0100)
tests/meson.build

index 8be32f7ed50ebe477f5c6e794070bde596721fdd..5c68a78dde619ced1078e5721015a1d4cd1fe053 100644 (file)
@@ -34,16 +34,14 @@ if platform_unix
 endif
 
 test_env = environment()
-test_env.prepend('LD_LIBRARY_PATH', babl_library_build_dir)
-test_env.set('GI_TYPELIB_PATH', babl_library_build_dir)
 test_env.set('BABL_PATH', babl_extensions_build_dir)
+
 foreach test_name : test_names
-  test = executable(
-    test_name,
+  test = executable(test_name,
     test_name + '.c',
-    include_directories: [ rootInclude, bablInclude, ],
-    link_with: [ babl, ],
-    dependencies: [ thread, ],
+    include_directories: [rootInclude, bablInclude],
+    link_with: babl,
+    dependencies: thread,
     export_dynamic: true,
     install: false,
   )