Fixed bug 1379 - Link commands for playwave/playmus should include $LDFLAGS
authorSam Lantinga <slouken@libsdl.org>
Thu, 19 Jan 2012 20:56:47 -0500
changeset 5717c03b97fc2b7
parent 570 10dfeb387450
child 572 d22fc7d3fc21
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.
Makefile.in
     1.1 --- a/Makefile.in	Sun Jan 15 20:15:51 2012 -0500
     1.2 +++ b/Makefile.in	Thu Jan 19 20:56:47 2012 -0500
     1.3 @@ -66,10 +66,10 @@
     1.4  	$(LIBTOOL) --mode=link $(CC) -o $@ $(OBJECTS) $(VERSION_OBJECTS) $(LDFLAGS) $(EXTRA_LDFLAGS) $(LT_LDFLAGS)
     1.5  
     1.6  $(objects)/playwave$(EXE): $(objects)/playwave.lo $(objects)/$(TARGET)
     1.7 -	$(LIBTOOL) --mode=link $(CC) -o $@ $(objects)/playwave.lo $(SDL_CFLAGS) $(SDL_LIBS) $(objects)/$(TARGET)
     1.8 +	$(LIBTOOL) --mode=link $(CC) -o $@ $(objects)/playwave.lo $(SDL_CFLAGS) $(SDL_LIBS) $(LDFLAGS) $(objects)/$(TARGET)
     1.9  
    1.10  $(objects)/playmus$(EXE): $(objects)/playmus.lo $(objects)/$(TARGET)
    1.11 -	$(LIBTOOL) --mode=link $(CC) -o $@ $(objects)/playmus.lo $(SDL_CFLAGS) $(SDL_LIBS) $(objects)/$(TARGET)
    1.12 +	$(LIBTOOL) --mode=link $(CC) -o $@ $(objects)/playmus.lo $(SDL_CFLAGS) $(SDL_LIBS) $(LDFLAGS) $(objects)/$(TARGET)
    1.13  
    1.14  install: all install-hdrs install-lib #install-bin
    1.15  install-hdrs: