Skip to content
Snippets Groups Projects
Commit 3febe016 authored by ian@well-typed.com's avatar ian@well-typed.com
Browse files

Build the dynamic way by default on Linux/amd64

This required various build system changes to get the build to go
through.

In the inplace shell wrappers, we set LD_LIBRARY_PATH to allow programs
to find their libraries. In the future, we might change the inplace tree
to be the same shape as an installed tree instead. However, this would
mean changing the way we do installation, as currently we use cabal's
installation methods to install the libraries, but that only works if
the libraries are under libraries/foo/dist-install/build/..., rather
than in inplace/lib/...
parent 6f7d4e82
No related branches found
No related tags found
No related merge requests found
...@@ -13,7 +13,8 @@ ...@@ -13,7 +13,8 @@
utils/hpc_dist-install_MODULES = Main HpcCombine HpcDraft HpcFlags HpcLexer \ utils/hpc_dist-install_MODULES = Main HpcCombine HpcDraft HpcFlags HpcLexer \
HpcMarkup HpcOverlay HpcParser HpcReport \ HpcMarkup HpcOverlay HpcParser HpcReport \
HpcShowTix HpcUtils HpcShowTix HpcUtils
utils/hpc_dist-install_HC_OPTS = -cpp -package hpc utils/hpc_dist-install_HC_OPTS = -cpp -package hpc
utils/hpc_dist-install_INSTALL = YES utils/hpc_dist-install_INSTALL = YES
utils/hpc_dist-install_PROG = hpc$(exeext) utils/hpc_dist-install_INSTALL_INPLACE = YES
utils/hpc_dist-install_PROG = hpc$(exeext)
$(eval $(call build-prog,utils/hpc,dist-install,1)) $(eval $(call build-prog,utils/hpc,dist-install,1))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment