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:21:07 +0000 (16:21 -0400)
commitec1adbb8cbf77babf59853b24460840e9895cf91
treef42c2725ca7023aaee2d0af45fae92a5ad7d88f1
parentbd68f05335c6f9831d1da9403b0854a7df16d2ca
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.025066 seconds and 4 git commands to generate.