Meson: Include config.h in tests

This commit is contained in:
Tim Rühsen 2018-12-09 14:33:56 +01:00
parent 73b734c364
commit 04da21e2e9
1 changed files with 1 additions and 0 deletions

View File

@ -9,6 +9,7 @@ psl_ascii_dafsa = custom_target('psl_ascii.dafsa',
command : [python, psl_make_dafsa, '--output-format=binary', '--encoding=ascii', '@INPUT@', '@OUTPUT@']) command : [python, psl_make_dafsa, '--output-format=binary', '--encoding=ascii', '@INPUT@', '@OUTPUT@'])
tests_cargs = [ tests_cargs = [
'-DHAVE_CONFIG_H',
'-DSRCDIR="@0@"'.format(meson.current_source_dir()), '-DSRCDIR="@0@"'.format(meson.current_source_dir()),
'-DPSL_FILE="@0@"'.format(psl_file), '-DPSL_FILE="@0@"'.format(psl_file),
'-DPSL_TESTFILE="@0@"'.format(psl_test_file), '-DPSL_TESTFILE="@0@"'.format(psl_test_file),