Commit d9ad388a authored by qrczak's avatar qrczak
Browse files

[project @ 2001-03-24 18:34:05 by qrczak]

Fix passing library dir to ghc-pkg.
parent 8c0fb915
-----------------------------------------------------------------------------
-- $Id: Main.hs,v 1.3 2001/03/20 15:57:30 simonmar Exp $
-- $Id: Main.hs,v 1.4 2001/03/24 18:34:05 qrczak Exp $
--
-- Package management tool
-----------------------------------------------------------------------------
......@@ -18,9 +18,7 @@ import Directory
import System
import IO
-- string gap games to confuse CPP.
default_pkgconf = "\
\ clibdir" ++ "/package.conf"
default_pkgconf = clibdir ++ "/package.conf"
main = do
args <- getArgs
......
# -----------------------------------------------------------------------------
# $Id: Makefile,v 1.4 2001/03/20 15:57:30 simonmar Exp $
# $Id: Makefile,v 1.5 2001/03/24 18:34:05 qrczak Exp $
TOP=../..
include $(TOP)/mk/boilerplate.mk
HS_PROG = ghc-pkg
SRC_HC_OPTS += -cpp -DPKG_TOOL -DWANT_PRETTY -package lang -package util -package text -Dclibdir="$(libdir)"
SRC_HC_OPTS += -cpp -DPKG_TOOL -DWANT_PRETTY -package lang \
-package util -package text -Dclibdir="\"$(libdir)\""
INSTALL_PROGS = $(HS_PROG)
......
Supports Markdown
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