Skip to content

Commit

Permalink
[Utils] Installer: Export WASMEDGE_LIB_DIR to installation-path/lib i…
Browse files Browse the repository at this point in the history
…f unset (WasmEdge#2304)

- Ref-WasmEdge#2303

Signed-off-by: Shreyas Atre <[email protected]>
  • Loading branch information
SAtacker authored Feb 21, 2023
1 parent 59c8831 commit 94d40f0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions utils/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -412,6 +412,9 @@ def set_env(args, compat):
fi
;;
esac
if [ -z ${{WASMEDGE_LIB_DIR+x}} ]; then
export WASMEDGE_LIB_DIR="{0}/{6}"
fi
# Please do not edit comments below this for uninstallation purpose
""".format(
args.path,
Expand Down

0 comments on commit 94d40f0

Please sign in to comment.