summaryrefslogtreecommitdiff
path: root/ghc.mk
diff options
context:
space:
mode:
authorThomas Miedema <thomasmiedema@gmail.com>2015-07-09 19:21:28 +0200
committerThomas Miedema <thomasmiedema@gmail.com>2015-07-13 21:47:28 +0200
commit47ebe267e8f78eee68333ba12a83d4fa6d763c3b (patch)
treed4a3c6d237c6a6ee6bdf1ac5fa35237fe83f56ef /ghc.mk
parentf70f1b656b6c3d5eef2f1a545876774047338ad1 (diff)
downloadhaskell-47ebe267e8f78eee68333ba12a83d4fa6d763c3b.tar.gz
Build system: delete REGULAR_INSTALL_DYNLIBS and INSTALL_DYNLIBS
Ever since we ship xhtml, terminfo and haskeline (#8919), commit 4caadb7cbee5c176abb99df25c4cc1657ae57f40, REGULAR_INSTALL_DYNLIBS is always empty. REGULAR_INSTALL_PACKAGES = PACKAGES_STAGE1 + compiler + PACKAGES_STAGE2 REGULAR_INSTALL_DYNLIBS = PACKAGES_STAGE1 + PACKAGES_STAGE2 - REGULAR_INSTALL_PACKAGES So we can delete it, and all the places where it is used. This simplifies ghc.mk a bit. Differential Revision: https://phabricator.haskell.org/D1062
Diffstat (limited to 'ghc.mk')
-rw-r--r--ghc.mk14
1 files changed, 0 insertions, 14 deletions
diff --git a/ghc.mk b/ghc.mk
index 7e9c2e5775..219cdc75ff 100644
--- a/ghc.mk
+++ b/ghc.mk
@@ -430,14 +430,6 @@ REGULAR_INSTALL_PACKAGES += compiler
endif
REGULAR_INSTALL_PACKAGES += $(addprefix libraries/,$(PACKAGES_STAGE2))
-# If we have built the programs with dynamic libraries, then
-# ghc will be dynamically linked against haskeline.so etc, so
-# we need the dynamic libraries of everything down to here
-REGULAR_INSTALL_DYNLIBS := $(addprefix libraries/,$(PACKAGES_STAGE1))
-REGULAR_INSTALL_DYNLIBS += $(addprefix libraries/,$(PACKAGES_STAGE2))
-REGULAR_INSTALL_DYNLIBS := $(filter-out $(REGULAR_INSTALL_PACKAGES),\
- $(REGULAR_INSTALL_DYNLIBS))
-
ifneq "$(CrossCompiling)" "YES"
define addExtraPackage
ifeq "$2" "-"
@@ -467,12 +459,8 @@ SUPERSIZE_INSTALL_PACKAGES += compiler
endif
SUPERSIZE_INSTALL_PACKAGES += $(addprefix libraries/,$(PACKAGES_STAGE2))
-INSTALL_DYNLIBS :=
ifeq "$(InstallExtraPackages)" "NO"
INSTALL_PACKAGES := $(REGULAR_INSTALL_PACKAGES)
-ifeq "$(DYNAMIC_GHC_PROGRAMS)" "YES"
-INSTALL_DYNLIBS := $(REGULAR_INSTALL_DYNLIBS)
-endif
else
INSTALL_PACKAGES := $(SUPERSIZE_INSTALL_PACKAGES)
endif
@@ -917,8 +905,6 @@ install_packages: rts/dist/package.conf.install
$(call INSTALL_DIR,"$(INSTALLED_PACKAGE_CONF)")
$(call INSTALL_DIR,"$(DESTDIR)$(topdir)/rts")
$(call installLibsTo, $(RTS_INSTALL_LIBS), "$(DESTDIR)$(topdir)/rts")
- $(foreach p, $(INSTALL_DYNLIBS), \
- $(call installLibsTo, $(wildcard $p/dist-install/build/*.so $p/dist-install/build/*.dll $p/dist-install/build/*.dylib), "$(DESTDIR)$(topdir)/$($p_dist-install_LIB_NAME)"))
$(foreach p, $(INSTALL_PACKAGES), \
$(call make-command, \
"$(ghc-cabal_INPLACE)" copy \