Skip to content

Commit

Permalink
meson: fix syntax mistake with omp_lib array
Browse files Browse the repository at this point in the history
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
  • Loading branch information
tycho committed Feb 24, 2019
1 parent e3eb2ee commit 8158b18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meson.build
Expand Up @@ -129,7 +129,7 @@ if enable_openmp
omp_ok = omp_lib.found() and run_command('src/openmp-detect-meson.sh', compiler.cmd_array() + [omp_arg, '-lgomp']).returncode() == 0
if not omp_ok
omp_lib = []
omp_ok = omp_lib.found() and run_command('src/openmp-detect-meson.sh', compiler.cmd_array() + [omp_arg, omp_arg]).returncode() == 0
omp_ok = run_command('src/openmp-detect-meson.sh', compiler.cmd_array() + [omp_arg, omp_arg]).returncode() == 0
endif
endif
endif
Expand Down

0 comments on commit 8158b18

Please sign in to comment.