Skip to content

Commit

Permalink
Revert "openbsd: execinfo is not a compiler lib"
Browse files Browse the repository at this point in the history
OpenBSD now has execinfo as compiler lib. DragonFly has all along.

This reverts commit 0241948.
  • Loading branch information
brad0 committed Dec 13, 2022
1 parent b249470 commit 7d452aa
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions mesonbuild/arglist.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,12 @@
import re
import typing as T

from . import mesonlib

if T.TYPE_CHECKING:
from .linkers import StaticLinker
from .compilers import Compiler

UNIXY_COMPILER_INTERNAL_LIBS = ['m', 'c', 'pthread', 'dl', 'rt'] # type: T.List[str]
# execinfo is a compiler lib on FreeBSD and NetBSD
if mesonlib.is_freebsd() or mesonlib.is_netbsd():
UNIXY_COMPILER_INTERNAL_LIBS.append('execinfo')
# execinfo is a compiler lib on BSD
UNIXY_COMPILER_INTERNAL_LIBS = ['m', 'c', 'pthread', 'dl', 'rt', 'execinfo'] # type: T.List[str]


class Dedup(enum.Enum):
Expand Down

0 comments on commit 7d452aa

Please sign in to comment.