From 109d4962227f11cd40dd8f0ef1b469e2a3aadc68 Mon Sep 17 00:00:00 2001 From: Ludovic Rousseau Date: Fri, 25 Jan 2013 14:18:28 +0100 Subject: [PATCH] Compilation: Change the order of arguments Put the -lnfc at the end of the command lie to avoid undefined references on Ubuntu 12.04. Close #219 --- examples/doc/quick_start_example1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/doc/quick_start_example1.c b/examples/doc/quick_start_example1.c index 531f710..77a8021 100644 --- a/examples/doc/quick_start_example1.c +++ b/examples/doc/quick_start_example1.c @@ -4,7 +4,7 @@ */ // To compile this simple example: -// $ gcc -o quick_start_example1 -lnfc quick_start_example1.c +// $ gcc -o quick_start_example1 quick_start_example1.c -lnfc #ifdef HAVE_CONFIG_H # include "config.h"