Commit 7c9d400a authored by simonmar's avatar simonmar
Browse files

[project @ 2001-02-14 09:50:00 by simonmar]

add -ldl to SRC_HC_OPTS if GhcWithInterpreter=YES and HaveLibDL=YES.
parent bd915098
......@@ -188,10 +188,15 @@ else
GhcWithNativeCodeGen=NO
endif
HaveLibDL = @HaveLibDL@
# Include GHCi in the compiler. Default to NO for the time being.
ifneq "$(findstring $(HostOS_CPP), linux solaris freebsd netbsd openbsd)" ""
GhcWithInterpreter=YES
ifeq "$(HaveLibDL)" "YES"
SRC_HC_OPTS += -ldl
endif
else
GhcWithInterpreter=NO
endif
......
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