openwrt_archive/net/stun/patches/002-linking_order.patch
Felix Fietkau daa9e489e4 fix stun compile on avr32, brcm-2.4
SVN-Revision: 14364
2009-02-02 17:25:40 +00:00

20 lines
429 B
Diff

--- a/Makefile
+++ b/Makefile
@@ -37,13 +37,13 @@
$(addprefix stund/, $(TARS))
server: server.o stun.o udp.o
- $(CXX) $(LDFLAGS) -o $@ $^
+ $(CXX) -o $@ $^ $(LDFLAGS)
tlsServer: tlsServer.o stun.o udp.o
- $(CXX) $(LDFLAGS) -o $@ $^
+ $(CXX) -o $@ $^ $(LDFLAGS)
client: client.o stun.o udp.o
- $(CXX) $(LDFLAGS) -o $@ $^
+ $(CXX) -o $@ $^ $(LDFLAGS)
%.o:%.cxx
$(CXX) -c $(CPPFLAGS) $(CXXFLAGS) $< -o $@