Skip to content

Commit

Permalink
fix #45
Browse files Browse the repository at this point in the history
  • Loading branch information
liberize committed Jan 16, 2025
1 parent 5dee05e commit b0b4ed6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ssc
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,10 @@ if [ -n "$SHOW_USAGE" -o $# != 2 ]; then
exit 0
fi

SRC_DIR="$(dirname "$0")/src"
SSC_PATH="$0"
[ "${SSC_PATH#*/}" = "$SSC_PATH" ] && SSC_PATH="$(command -v "$SSC_PATH")"
SRC_DIR="$(dirname "$(realpath "$SSC_PATH")")/src"

[ -z "$CXX" ] && CXX=${CROSS_COMPILE}g++
[ -z "$LD" ] && LD=${CROSS_COMPILE}ld
[ -z "$STRIP" ] && STRIP=${CROSS_COMPILE}strip
Expand Down

0 comments on commit b0b4ed6

Please sign in to comment.