Fix: examples Makefiles should pass $(LIBS) at last
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 18 Apr 2012 20:17:56 +0000 (16:17 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 18 Apr 2012 20:17:56 +0000 (16:17 -0400)
commitfe09e87939cd73206aab807b5d729ff4a28a6ad6
treeeaf99ef358a534c83d7584f4d2123ddd9c8a7857
parent3077257a98b1ad40591797d51f68f94d24099875
Fix: examples Makefiles should pass $(LIBS) at last

Fixes #210

Description

Since Ubuntu 11.10, the "--as-needed" option is given by default to ld
(linker). This option breaks the makefiles given with the userspace
tracing examples. Therefore the libraries against which the program
should be linked should be passed at last:
$(CC) -o $@ $^ $(LIBS)

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
doc/examples/easy-ust/Makefile
doc/examples/gen-tp/Makefile
This page took 0.025942 seconds and 4 git commands to generate.