Skip to contentSkip to conversation

Fix (another) linker library order

PATCH Mathieu Desnoyers 1 participant 1 message May 12, 2013 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Mathieu Desnoyers

author Applied
#1 lore raw
Quoted 1 line · * Francis Giraldeau ([email protected]) wrote:

Libraries must be specified after the binary target.

merged, thanks,

Mathieu

Quoted 27 lines
---
 doc/examples/hello-static-lib/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
doc/examples/hello-static-lib/Makefile +1 -1
index a5bf2df..dd246f7 100644
@@ -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:
Signature · 7 lines
1.8.1.2


_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
Signature · 3 lines
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com