Commit 5c43947b authored by ian@well-typed.com's avatar ian@well-typed.com
Browse files

Don't build the HS*.o files when DYNAMIC_BY_DEFAULT

We don't use them (we use the .so/.dll instead), so no point generating
them.
parent 55478b1e
......@@ -113,6 +113,7 @@ BINDIST_LIBS += $$($1_$2_$3_LIB)
endif
# Build the GHCi library
ifneq "$$(DYNLiBS_BY_DEFAULT)" "YES"
ifeq "$3" "v"
$1_$2_GHCI_LIB = $1/$2/build/HS$$($1_PACKAGE)-$$($1_$2_VERSION).$$($3_osuf)
ifeq "$$($1_$2_BUILD_GHCI_LIB)" "YES"
......@@ -131,6 +132,7 @@ $(call all-target,$1_$2,$$($1_$2_GHCI_LIB))
endif
endif
endif
endif
$(call profEnd, build-package-way($1,$2,$3))
endef
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment