ast.so only needs GCLDFLAGS, not full LDFLAGS which breaks for cygwin

This commit is contained in:
Alex Shinn 2013-03-10 23:59:07 +09:00
parent c63e00453c
commit 39e2e96a60

View file

@ -111,7 +111,7 @@ clibs.c: $(GENSTATIC) chibi-scheme$(EXE)
# A special case, this needs to be linked with the LDFLAGS in case
# we're using Boehm.
lib/chibi/ast$(SO): lib/chibi/ast.c $(INCLUDES)
-$(CC) $(CLIBFLAGS) $(XCPPFLAGS) $(XCFLAGS) -o $@ $< $(XLDFLAGS) -L. -lchibi-scheme
-$(CC) $(CLIBFLAGS) $(XCPPFLAGS) $(XCFLAGS) -o $@ $< $(GCLDFLAGS) -L. -lchibi-scheme
doc/lib/chibi/%.html: lib/chibi/%.sld $(CHIBI_DOC_DEPENDENCIES)
$(CHIBI_DOC) chibi.$* > $@