Permalink
Browse files

Statically link with Mercury libraries by default.

  • Loading branch information...
1 parent 6973ca4 commit 12978b706f39cea609e314fadf54b76810257e37 @wangp committed Mar 27, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 Mercury.options
View
@@ -4,6 +4,9 @@ MAIN_TARGET = bower
# Link with curses.
MLLIBS-bower += -lncursesw -lpanel
+# Statically link to Mercury libraries.
+MCFLAGS-bower += --mercury-linkage static
+
# Reduce memory usage in low-level C grades due to large stack sizes.
# Comment this out or override it for debugging, etc.
MCFLAGS-bower += --runtime-flags "--detstack-size 16 --nondetstack-size 12"

0 comments on commit 12978b7

Please sign in to comment.