Permalink
Browse files

Merge pull request #2 from jgrevich/fix_gcc_linking_error

library files must come after the object files that link to them.
  • Loading branch information...
2 parents ab695a5 + fcd3482 commit 3f871c95db582c1652d4c4fc2a7eb5fa5436a411 @ekarak committed Oct 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Makefile
View
@@ -46,7 +46,7 @@ Main.o: Main.cpp
$(CXX) $(CFLAGS) -c Main.cpp $(INCLUDES)
main: Main.o BoostStomp.o StompFrame.o helpers.o
- $(CXX) -o $@ $(LDFLAGS) Main.o BoostStomp.o StompFrame.o helpers.o
+ $(CXX) -o $@ Main.o BoostStomp.o StompFrame.o helpers.o $(LDFLAGS)
# upx main
libbooststomp.a: BoostStomp.o StompFrame.o

0 comments on commit 3f871c9

Please sign in to comment.