Skip to content

Commit

Permalink
fixup! Correctly check for function strerror_r
Browse files Browse the repository at this point in the history
  • Loading branch information
mgautierfr committed Aug 12, 2024
1 parent 82ba11d commit 99a4248
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion xapian-core/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,11 @@ main (void)
}
'''

strerror_p_ret = cc.run(
# We should check with target compiler. But to do so we must be able to run the
# test program on the target machine. Let's assume that native build return the same
# thing that target build. [TOFIX]
native_cc = meson.get_compiler('cpp', native: true)
strerror_p_ret = native_cc.run(
test_strerror_p_ret,
name: 'Test if strerror_p returnt a char.'
)
Expand Down

0 comments on commit 99a4248

Please sign in to comment.