Commit 90e59fee authored by sewardj's avatar sewardj
Browse files

[project @ 2001-04-30 16:01:52 by sewardj]

Plumb LibsReadline into extra_libraries for -package util, rather than
extra_ld_opts, so that GHCi knows to load them too.
parent c66b73ec
......@@ -840,7 +840,7 @@ fi
if test $HaveLibTermcap = YES && test x"$HaveLibReadline" = xYES ; then
AC_DEFINE(HAVE_READLINE_LIBS,1)
LibsReadline="-lreadline -l$LibTermcap"
LibsReadline="readline $LibTermcap"
else
AC_DEFINE(HAVE_READLINE_LIBS,0)
LibsReadline=
......
......@@ -299,7 +299,7 @@ package_details installing
else [ cFPTOOLS_TOP_ABS ++ "/hslibs/util"
, cFPTOOLS_TOP_ABS ++ "/hslibs/util/cbits" ],
hs_libraries = [ "HSutil" ],
extra_libraries = [ "HSutil_cbits" ],
extra_libraries = [ "HSutil_cbits" ] ++ words cLibsReadline,
include_dirs = if installing
then []
else [ cFPTOOLS_TOP_ABS ++ "/hslibs/util/cbits" ],
......@@ -311,7 +311,7 @@ package_details installing
],
extra_ghc_opts = [],
extra_cc_opts = [],
extra_ld_opts = words cLibsReadline
extra_ld_opts = []
},
-- no cbits at the moment, we'll need to add one if this library
......
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