Skip to content

Commit

Permalink
Trying to make metacall relative.
Browse files Browse the repository at this point in the history
  • Loading branch information
viferga committed Aug 23, 2024
1 parent 9027aed commit be2aef8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion metacall.rb
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,8 @@ def install
# debug = "set -euxo pipefail\n"

metacall_extra = [
"PREFIX=#{prefix}\n",
"SCRIPT_DIR=$(cd -- \"$(dirname -- \"${BASH_SOURCE[0]}\" )\" &> /dev/null && pwd)\n",
"PREFIX=$(dirname \"${SCRIPT_DIR}\")\n",
"export LOADER_LIBRARY=\"${PREFIX}/lib\"\n",
"export SERIAL_LIBRARY_PATH=\"${PREFIX}/lib\"\n",
"export DETOUR_LIBRARY_PATH=\"${PREFIX}/lib\"\n",
Expand Down

0 comments on commit be2aef8

Please sign in to comment.