Commit 37e0de2d authored by simonmar's avatar simonmar

[project @ 2003-05-23 10:00:04 by simonmar]

For STANDALONE_PACKAGE: Let the package configuration file refer to
$(libdir) as ${pkglibdir}.  Note we can't use ${libdir} because
ghc-pkg already redefines it to point to GHC's libdir (bug or
feature?).
parent 3797ee40
# -----------------------------------------------------------------------------
# $Id: package.mk,v 1.26 2003/05/22 15:36:08 simonmar Exp $
# $Id: package.mk,v 1.27 2003/05/23 10:00:04 simonmar Exp $
ifneq "$(PACKAGE)" ""
......@@ -59,8 +59,12 @@ CLEAN_FILES += package.conf.installed package.conf.inplace
else # $(STANDALONE_PACKAGE) == "YES"
# Let the package configuration file refer to $(libdir) as
# ${pkglibdir}. Note we can't use ${libdir} because ghc-pkg already
# redefines it to point to GHC's libdir (bug or feature?).
#
install :: package.conf.installed
$(GHC_PKG) --update-package <package.conf.installed
pkglibdir=$(libdir) $(GHC_PKG) --update-package <package.conf.installed
endif # $(STANDALONE_PACKAGE)
......
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