From: Francis Giraldeau Date: Sun, 12 May 2013 02:59:21 +0000 (-0400) Subject: Fix (another) linker library order X-Git-Tag: v2.2.0-rc3~25 X-Git-Url: http://git.liburcu.org/?p=lttng-ust.git;a=commitdiff_plain;h=a51ac6d9a011ba10b0be396dc1e801b2fc829651 Fix (another) linker library order Libraries must be specified after the binary target. Signed-off-by: Francis Giraldeau Signed-off-by: Mathieu Desnoyers --- diff --git a/doc/examples/hello-static-lib/Makefile b/doc/examples/hello-static-lib/Makefile index a5bf2df1..dd246f70 100644 --- a/doc/examples/hello-static-lib/Makefile +++ b/doc/examples/hello-static-lib/Makefile @@ -46,7 +46,7 @@ hello.o: hello.c $(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $< hello: hello.o lttng-ust-provider-hello.a - $(CC) -o $@ $(LDFLAGS) $(LIBS) $^ + $(CC) -o $@ $(LDFLAGS) $^ $(LIBS) .PHONY: clean clean: