Skip to content
Permalink
Browse files

Fixed bug 1379 - Link commands for playwave/playmus should include $L…

…DFLAGS

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.
  • Loading branch information
slouken committed Jan 20, 2012
1 parent abb5644 commit ab341c47cdf727ea921eb288bd89d021b8f6a9d0
Showing with 2 additions and 2 deletions.
  1. +2 −2 Makefile.in
@@ -66,10 +66,10 @@ $(objects)/$(TARGET): $(OBJECTS) $(VERSION_OBJECTS)
$(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:

0 comments on commit ab341c4

Please sign in to comment.