changeset 6085:b7f81886f272

mingw::lilypond: also link with libgc. Fixes build.
author Jan Nieuwenhuizen <janneke@gnu.org>
date Sun, 30 Jan 2011 15:09:27 +0100
parents f600fbfe4b15
children c5d9530ed766
files gub/specs/lilypond.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/gub/specs/lilypond.py	Sun Jan 30 15:09:01 2011 +0100
+++ b/gub/specs/lilypond.py	Sun Jan 30 15:09:27 2011 +0100
@@ -162,7 +162,7 @@
             ]
     python_lib = '%(system_prefix)s/bin/libpython*.dll'
     make_flags = (LilyPond.make_flags
-                  + ' LDFLAGS="%(python_lib)s"'  % locals ())
+                  + ' LDFLAGS="%(python_lib)s -lgc"'  % locals ())
     # ugh Python hack: C&P Cygwin
     def compile (self):
         self.system ('''
@@ -171,7 +171,7 @@
         LilyPond.compile (self)
         self.system ('''
 cd %(builddir)s/lily && mv out/lilypond out/lilypond-console
-cd %(builddir)s/lily && make MODULE_LDFLAGS='-mwindows'
+cd %(builddir)s/lily && make MODULE_LDFLAGS='-mwindows' LDFLAGS=-lgc
 cd %(builddir)s/lily && mv out/lilypond out/lilypond-windows
 cd %(builddir)s/lily && touch out/lilypond
 ''')