From 898cb090c8812704448ec4cb1c10d50df4b7d664 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Tue, 25 Sep 2012 19:50:09 +0100 Subject: 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/... --- rts/ghc.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'rts/ghc.mk') diff --git a/rts/ghc.mk b/rts/ghc.mk index 9fdf6bebb5..726199e455 100644 --- a/rts/ghc.mk +++ b/rts/ghc.mk @@ -508,9 +508,9 @@ endif # ----------------------------------------------------------------------------- # installing -INSTALL_LIBS += $(ALL_RTS_LIBS) -INSTALL_LIBS += $(wildcard rts/dist/build/libffi$(soext)*) -INSTALL_LIBS += $(wildcard rts/dist/build/$(LIBFFI_DLL)) +RTS_INSTALL_LIBS += $(ALL_RTS_LIBS) +RTS_INSTALL_LIBS += $(wildcard rts/dist/build/libffi$(soext)*) +RTS_INSTALL_LIBS += $(wildcard rts/dist/build/$(LIBFFI_DLL)) install: install_libffi_headers -- cgit v1.2.1