diff --git a/src/meson.build b/src/meson.build
index 1a5b61791ef2a04ea5ed643268650c18643e5b58..14eb2e36dad39ed115ac03836623932e574eb133 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -20,7 +20,7 @@ if not cpp_compiler.has_header('FlexLexer.h')
     	  fs.parent(fs.parent(flex_exe.full_path())) / 'include' / 'FlexLexer.h', 
     	  'FlexLexer.h'
 	  )
-  flexlexer_h = '../src/FlexLexer.h'
+  flexlexer_h = '../../src/FlexLexer.h'
 else
   flexlexer_h = []
 endif