aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKridsada Thanabulpong <[email protected]>2018-09-25 21:17:03 +0700
committerKridsada Thanabulpong <[email protected]>2018-09-25 21:17:03 +0700
commitea951d4dfd10e5b80f8a7a1bc7a56062fd426907 (patch)
tree76fa8611123be552c3199b1f5c8598bcbd66acc0
parentf5a10287a7173524274e964a2f22f3c5a7bfe54b (diff)
downloadkerl-ea951d4dfd10e5b80f8a7a1bc7a56062fd426907.tar.gz
kerl-ea951d4dfd10e5b80f8a7a1bc7a56062fd426907.tar.bz2
kerl-ea951d4dfd10e5b80f8a7a1bc7a56062fd426907.zip
Support for macOS Mojave (18.0.0)
-rwxr-xr-xkerl8
1 files changed, 4 insertions, 4 deletions
diff --git a/kerl b/kerl
index a7f1e0c..1af4c9c 100755
--- a/kerl
+++ b/kerl
@@ -590,13 +590,13 @@ do_normal_build() {
}
_flags() {
- # We need to munge the LD and DED flags for clang 9 shipped with
- # High Sierra (macOS 10.13)
+ # We need to munge the LD and DED flags for clang 9/10 shipped with
+ # High Sierra (macOS 10.13) and Mojave (macOS 10.14)
case "$KERL_SYSTEM" in
Darwin)
osver=$(uname -r)
case "$osver" in
- 17*)
+ 18*|17*)
# Make sure we don't overwrite values that someone who
# knows better than us set.
if [ -z "$DED_LD" ]; then
@@ -635,7 +635,7 @@ _do_build() {
fi
case "$OSVERSION" in
- 17*|16*|15*)
+ 18*|17*|16*|15*)
if ! echo "$KERL_CONFIGURE_OPTIONS" | grep 'ssl' >/dev/null 2>&1; then
whichbrew=$(command -v brew)
if [ -n "$whichbrew" ] && [ -x "$whichbrew" ]; then