summaryrefslogtreecommitdiff
path: root/libraries/Makefile
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2008-07-24 15:49:25 +0000
committerSimon Marlow <marlowsd@gmail.com>2008-07-24 15:49:25 +0000
commitc29b47b74c7625c66d81405907e303ea66bdb061 (patch)
treec7ae65b7c2714698d465f124ae504f7d533df049 /libraries/Makefile
parent8edb76687dc6aec821131861ce81f6b6d8293299 (diff)
downloadhaskell-c29b47b74c7625c66d81405907e303ea66bdb061.tar.gz
add --enable-shared to configure, and $(BuildSharedLibs) to the build system
Diffstat (limited to 'libraries/Makefile')
-rw-r--r--libraries/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/Makefile b/libraries/Makefile
index f78948c974..6d8287fb87 100644
--- a/libraries/Makefile
+++ b/libraries/Makefile
@@ -129,7 +129,7 @@ CONFIGURE_OPTS += --enable-library-profiling
CONFIGURE_STAMP_EXTRAS := $(CONFIGURE_STAMP_EXTRAS)-profiling
endif
-ifneq "$(findstring $(space)dyn$(space), $(space)$(GhcLibWays)$(space))" ""
+ifeq "$(BuildSharedLibs)" "YES"
CONFIGURE_OPTS += --enable-shared
CONFIGURE_STAMP_EXTRAS := $(CONFIGURE_STAMP_EXTRAS)-shared
endif