Code

meson.build: fix build with meson > 0.38.1
authorilovezfs <ilovezfs@icloud.com>
Sat, 22 Jul 2017 10:50:24 +0000 (03:50 -0700)
committerMax Kellermann <max.kellermann@gmail.com>
Mon, 31 Jul 2017 21:07:22 +0000 (23:07 +0200)
Fixes the error "Tried to form an absolute path to a source dir. You
should not do that but use relative paths instead."

meson.build

index 09e8bc2a6bca9b11a84f9987da8d2ec347256b5a..600b57324f8dc02a8e7aa616e8931bf5e4463438 100644 (file)
@@ -192,7 +192,7 @@ inc = include_directories(
   'src',
 
   # for the generated config.h
-  meson.current_build_dir(),
+  '.',
 )
 
 sources = []