Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
7cf591f6
Commit
7cf591f6
authored
Jul 23, 2007
by
Clemens Fruhwirth
Browse files
Translate dyn in GhcLibWays into --enable-shared for Cabal
parent
458a0d43
Changes
1
Hide whitespace changes
Inline
Side-by-side
libraries/Makefile
View file @
7cf591f6
...
...
@@ -98,6 +98,11 @@ CONFIGURE_OPTS += --enable-library-profiling
CONFIGURE_STAMP_EXTRAS
:=
$(CONFIGURE_STAMP_EXTRAS)
-profiling
endif
ifneq
"$(findstring $(space)dyn$(space), $(space)$(GhcLibWays)$(space))" ""
CONFIGURE_OPTS
+=
--enable-shared
CONFIGURE_STAMP_EXTRAS
:=
$(CONFIGURE_STAMP_EXTRAS)
-shared
endif
ifeq
"$(SplitObjs)" "YES"
CONFIGURE_OPTS
+=
--enable-split-objs
CONFIGURE_STAMP_EXTRAS
:=
$(CONFIGURE_STAMP_EXTRAS)
-splitting
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment