[Commits] SDL_mixer: Fixed bug 1379 - Link commands for playwave/playmus s...
libsdl.org revision control
commits-owner at libsdl.org
Thu Jan 19 17:59:54 PST 2012
details: http://hg.libsdl.org/SDL_mixer/rev/7c03b97fc2b7
changeset: 571:7c03b97fc2b7
user: Sam Lantinga <slouken at libsdl.org>
date: Thu Jan 19 20:56:47 2012 -0500
description:
Fixed bug 1379 - Link commands for playwave/playmus should include $LDFLAGS
Joshua Root 2012-01-19 06:33:41 PST
This is needed if you want to build with e.g. '-arch i386' on OS X.
diffstat:
Makefile.in | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (16 lines):
diff -r 10dfeb387450 -r 7c03b97fc2b7 Makefile.in
--- a/Makefile.in Sun Jan 15 20:15:51 2012 -0500
+++ b/Makefile.in Thu Jan 19 20:56:47 2012 -0500
@@ -66,10 +66,10 @@
$(LIBTOOL) --mode=link $(CC) -o $@ $(OBJECTS) $(VERSION_OBJECTS) $(LDFLAGS) $(EXTRA_LDFLAGS) $(LT_LDFLAGS)
$(objects)/playwave$(EXE): $(objects)/playwave.lo $(objects)/$(TARGET)
- $(LIBTOOL) --mode=link $(CC) -o $@ $(objects)/playwave.lo $(SDL_CFLAGS) $(SDL_LIBS) $(objects)/$(TARGET)
+ $(LIBTOOL) --mode=link $(CC) -o $@ $(objects)/playwave.lo $(SDL_CFLAGS) $(SDL_LIBS) $(LDFLAGS) $(objects)/$(TARGET)
$(objects)/playmus$(EXE): $(objects)/playmus.lo $(objects)/$(TARGET)
- $(LIBTOOL) --mode=link $(CC) -o $@ $(objects)/playmus.lo $(SDL_CFLAGS) $(SDL_LIBS) $(objects)/$(TARGET)
+ $(LIBTOOL) --mode=link $(CC) -o $@ $(objects)/playmus.lo $(SDL_CFLAGS) $(SDL_LIBS) $(LDFLAGS) $(objects)/$(TARGET)
install: all install-hdrs install-lib #install-bin
install-hdrs:
More information about the commits
mailing list