Skip to content

Commit

Permalink
Take linking the tests from a subproject into account correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
dragonmux committed Jan 1, 2024
1 parent 291c561 commit 15cbf8f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/crunch/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ foreach test : libCrunchTests
'-s',
'@INPUT@',
'-o', '@OUTPUT@',
f'-L@libCrunchPath@',
libCrunchDep.get_variable('compile_args'),
libCrunchDep.get_variable('link_args'),
]
Expand Down
2 changes: 2 additions & 0 deletions test/crunchMake/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ if crunchMakeWrapper.found()
'-i', '@INPUT@',
'-o', '@OUTPUT@',
'--',
f'-L@libCrunchppPath@',
libCrunchppDep.get_variable('compile_args'),
libCrunchppDep.get_variable('link_args'),
] + commandExtra,
Expand All @@ -36,6 +37,7 @@ if crunchMakeWrapper.found()
'-i', '@INPUT@',
'-o', '@OUTPUT@',
'--',
f'-L@libCrunchppPath@',
libCrunchppDep.get_variable('compile_args'),
libCrunchppDep.get_variable('link_args'),
] + commandExtra,
Expand Down
1 change: 1 addition & 0 deletions test/ranlux/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ foreach test : ranluxTests
'-s',
'@INPUT@',
'-o', '@OUTPUT@',
f'-L@libCrunchppPath@',
libCrunchppDep.get_variable('compile_args'),
libCrunchppDep.get_variable('link_args'),
]
Expand Down

0 comments on commit 15cbf8f

Please sign in to comment.