Install support library to PREFIX/lib

If you happen to build via racket, putting it in a place where the
system knows to look means that it will successfully run the executable.
This commit is contained in:
Edwin Brady 2020-05-19 16:28:24 +01:00
parent 48c6c4aa81
commit 3eb67aebd8

View File

@ -79,8 +79,10 @@ install: install-idris2 install-support install-libs
install-idris2:
mkdir -p ${PREFIX}/bin/${NAME}_app
mkdir -p ${PREFIX}/lib/${NAME}_app
install ${TARGET} ${PREFIX}/bin
install ${TARGETDIR}/${NAME}_app/* ${PREFIX}/bin/${NAME}_app
install support/c/${IDRIS2_SUPPORT} ${PREFIX}/lib
install-support: support
mkdir -p ${PREFIX}/idris2-${IDRIS2_VERSION}/support/chez