Skip to content

Commit

Permalink
uses readlink
Browse files Browse the repository at this point in the history
  • Loading branch information
ringabout committed Dec 13, 2024
1 parent 55112fd commit 39a915d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,11 @@ case "$(os)" in
# Starting from musl 1.2.0, time_t is 64 bit on all arches
echo "-d:nimUse64BitCTime" >> nim.cfg
else
libdir=$(realpath lib)
if [[ $triple == "arm64-apple" ]]; then
libdir=$(readlink -f lib)
else
libdir=$(realpath lib)
fi
cflags+=(-target "$triple")
fi
libs+=(libssl.a libcrypto.a libpcre.a libsqlite3.a)
Expand Down

0 comments on commit 39a915d

Please sign in to comment.