add luaprofiler
[openwrt/svn-archive/archive.git] / lang / luaprofiler / patches / 100-link.patch
1 --- a/Makefile.linux
2 +++ b/Makefile.linux
3 @@ -4,7 +4,7 @@ OBJS= src/clocks.o src/core_profiler.o s
4
5
6 profiler: $(OBJS)
7 - mkdir -p bin && $(LD) -Bshareable -o $(PROFILER_OUTPUT) $(OBJS)
8 + mkdir -p bin && $(LD) -Bshareable -o $(PROFILER_OUTPUT) $(OBJS) $(LDFLAGS)
9
10 clean:
11 rm -f $(PROFILER_OUTPUT) src/*.o