diff options
author | Simon Marlow <marlowsd@gmail.com> | 2008-07-24 15:49:25 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2008-07-24 15:49:25 +0000 |
commit | c29b47b74c7625c66d81405907e303ea66bdb061 (patch) | |
tree | c7ae65b7c2714698d465f124ae504f7d533df049 /ghc/Makefile | |
parent | 8edb76687dc6aec821131861ce81f6b6d8293299 (diff) | |
download | haskell-c29b47b74c7625c66d81405907e303ea66bdb061.tar.gz |
add --enable-shared to configure, and $(BuildSharedLibs) to the build system
Diffstat (limited to 'ghc/Makefile')
-rw-r--r-- | ghc/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ghc/Makefile b/ghc/Makefile index 8c4e2c9608..b1a14d38d6 100644 --- a/ghc/Makefile +++ b/ghc/Makefile @@ -61,6 +61,10 @@ ifeq "$(GhcThreaded)" "YES" CONFIGURE_FLAGS_STAGE2 += --ghc-option=-threaded endif +ifeq "$(BuildSharedLibs)" "YES" +CONFIGURE_FLAGS_STAGE2 += --ghc-option=-dynamic +endif + CONFIGURE_FLAGS_STAGE3 = $(CONFIGURE_FLAGS_STAGE2) CONFIGURE_FLAGS_STAGE1 += $(USE_BOOT_CONFIGURE_FLAGS) |