From: Francis Giraldeau Date: Sun, 12 May 2013 02:58:12 +0000 (-0400) Subject: Fix linker library order X-Git-Tag: v2.2.0-rc3~27 X-Git-Url: http://git.liburcu.org/?p=lttng-ust.git;a=commitdiff_plain;h=725e63c5194bfdcde0a2a3507aca156ba36cf49f Fix 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/demo/Makefile b/doc/examples/demo/Makefile index 7ae6547e..bbc8ccb7 100644 --- a/doc/examples/demo/Makefile +++ b/doc/examples/demo/Makefile @@ -55,7 +55,7 @@ demo.o: demo.c $(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $< demo: demo.o - $(CC) -o $@ $(LIBS) $^ + $(CC) -o $@ $^ $(LIBS) .PHONY: clean clean: