From: Mathieu Desnoyers Date: Wed, 18 Apr 2012 20:17:56 +0000 (-0400) Subject: Fix: examples Makefiles should pass $(LIBS) at last X-Git-Tag: v2.1.0-rc1~92 X-Git-Url: http://git.liburcu.org/?a=commitdiff_plain;h=fe09e87939cd73206aab807b5d729ff4a28a6ad6;hp=fe09e87939cd73206aab807b5d729ff4a28a6ad6;p=lttng-ust.git 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 ---