aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorAdam Harrison <adamdharrison@gmail.com>2022-12-30 15:01:09 -0500
committerAdam Harrison <adamdharrison@gmail.com>2022-12-30 15:01:09 -0500
commiteec2fe103b82e3e76175aa7bcaacb85734602f75 (patch)
treea166aeaf9c17e7ec648ecefc8b0bf74bd3c2e403 /build.sh
parent8d198d903cbfb52cffd74331e2c118c389e69757 (diff)
downloadlite-xl-plugin-manager-eec2fe103b82e3e76175aa7bcaacb85734602f75.tar.gz
lite-xl-plugin-manager-eec2fe103b82e3e76175aa7bcaacb85734602f75.zip
Routed through FS for mac.
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index 21ad04c..29b4932 100755
--- a/build.sh
+++ b/build.sh
@@ -45,7 +45,7 @@ fi
[[ $OSTYPE != 'msys'* && $CC != *'mingw'* && $CC != "emcc" ]] && LDFLAGS="$LDFLAGS -ldl"
[[ $OSTYPE == 'msys'* || $CC == *'mingw'* ]] && LDFLAGS="$LDFLAGS -lbcrypt -lws2_32 -lz -lwinhttp -lole32 -lcrypt32 -lrpcrt4"
-[[ $OSTYPE == *'darwin'* ]] && LDFLAGS="$LDFLAGS -liconv -framework Security"
+[[ $OSTYPE == *'darwin'* ]] && LDFLAGS="$LDFLAGS -liconv -framework Security -framework Foundation"
[[ " $@" != *" -g"* && " $@" != *" -O"* ]] && CFLAGS="$CFLAGS -O3" && LDFLAGS="$LDFLAGS -s"
$CC $CFLAGS $SRCS $@ -o $BIN $LDFLAGS