Skip to content

Commit

Permalink
openbsd: execinfo is not a compiler lib
Browse files Browse the repository at this point in the history
  • Loading branch information
ajacoutot authored and jpakkane committed Nov 25, 2019
1 parent bbaacc0 commit 0241948
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions mesonbuild/compilers/compilers.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,10 @@
'vala': 'VALAFLAGS',
'rust': 'RUSTFLAGS'}

# execinfo is a compiler lib on BSD
unixy_compiler_internal_libs = ('m', 'c', 'pthread', 'dl', 'rt', 'execinfo')
unixy_compiler_internal_libs = ('m', 'c', 'pthread', 'dl', 'rt')
# execinfo is a compiler lib on FreeBSD and NetBSD
if mesonlib.is_freebsd() or mesonlib.is_netbsd():
unixy_compiler_internal_libs += ('execinfo',)

# All these are only for C-linkable languages; see `clink_langs` above.

Expand Down

0 comments on commit 0241948

Please sign in to comment.