]> git.ipfire.org Git - thirdparty/mtr.git/commit
Link portability/error.c with mtr-packet when missing on MacOS 288/head
authorMatt Kimball <matt.kimball@gmail.com>
Wed, 13 Feb 2019 17:33:29 +0000 (09:33 -0800)
committerMatt Kimball <matt.kimball@gmail.com>
Wed, 13 Feb 2019 17:33:29 +0000 (09:33 -0800)
commitf54da716ac0866bc853b5b54c0217e063ef8e8ae
treebd827dd9c712feade92c8ca6beba3566e92a528d
parent3649b04337d38725f58a3d8ebe7845cb7fa3cabf
Link portability/error.c with mtr-packet when missing on MacOS

Change 817f171d broke the MacOS build.

Change 817f171d converted the error reporting in mtr-packet from
perror() to error().  That's fine, but error() is missing on MacOS.
We already had portability/error.c for this reason, but that was
previously only linked into the mtr binary, not mtr-packet.

This change also links portability/error.c with mtr-packet, when
error() is missing from the OS.
Makefile.am