Build: Fix OSX build issues.

OSX does not support 'readlink -f' or 'sed -r'.  Replace readlink with
the GNU make macro 'realpath'.  Replace sed with grep in one place, cut
in the other.

ASTERISK-27332

Change-Id: I5d34ecca905384decb22ead45c913ae5e8aff748
This commit is contained in:
Corey Farrell
2017-11-19 10:57:28 -05:00
parent 4181b6f377
commit b4f7f8250f
8 changed files with 68 additions and 12 deletions

View File

@@ -49,6 +49,7 @@ PATCH=@PATCH@
SED=@SED@
NM=@NM@
CAT=@CAT@
CUT=@CUT@
BUILD_PLATFORM=@BUILD_PLATFORM@
BUILD_CPU=@BUILD_CPU@