Permalink
Browse files

Fixed the build if the --as-needed linker option is enabled.

  • Loading branch information...
chewi authored and Tilman Sauerbeck committed Mar 26, 2010
1 parent 5d16742 commit 8b97319c1a03acecc21b5608516859daaf5bca75
Showing with 1 addition and 1 deletion.
  1. +1 −1 Makefile
View
@@ -35,7 +35,7 @@ install: $(BINARY)
install -m 755 $(BINARY) $(DESTDIR)$(PREFIX)/bin
$(BINARY): $(OBJECTS) bin
- $(QUIET_LINK)$(CC) $(LDFLAGS) $(XMMS_LDFLAGS) $(CURL_LDFLAGS) $(OBJECTS) -o $@
+ $(QUIET_LINK)$(CC) $(OBJECTS) $(LDFLAGS) $(XMMS_LDFLAGS) $(CURL_LDFLAGS) -o $@
src/%.o : src/%.c
$(QUIET_CC)$(CC) $(CFLAGS) $(XMMS_CFLAGS) $(CURL_CFLAGS) $(ENDIAN_CFLAGS) -o $@ -c $<

0 comments on commit 8b97319

Please sign in to comment.