From 46b9c3326d50aebe52c33d63885b83a47a2e74ea Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Wed, 16 May 2012 17:31:33 +0200 Subject: [PATCH] Fix the compile command in the examples Reported by Luciano Dalle Ore --- ChangeLog | 3 +++ example/cusexmp.c | 2 +- example/fioc.c | 2 +- example/fsel.c | 2 +- example/fusexmp.c | 2 +- example/fusexmp_fh.c | 2 +- example/hello.c | 2 +- example/hello_ll.c | 2 +- example/null.c | 2 +- 9 files changed, 11 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index b9856ec..a60ac12 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,9 @@ be linked to stubs in glibc. So move -pthread from Libs.private to Libs in fuse.pc. Reported by Werner Fink + * Fix the compile command in the examples. Reported by Luciano + Dalle Ore + 2012-04-20 Miklos Szeredi * Released 2.9.0 diff --git a/example/cusexmp.c b/example/cusexmp.c index 900c985..01fcdf7 100644 --- a/example/cusexmp.c +++ b/example/cusexmp.c @@ -6,7 +6,7 @@ This program can be distributed under the terms of the GNU GPL. See the file COPYING. - gcc -Wall `pkg-config fuse --cflags --libs` cusexmp.c -o cusexmp + gcc -Wall cusexmp.c `pkg-config fuse --cflags --libs` -o cusexmp */ #define FUSE_USE_VERSION 29 diff --git a/example/fioc.c b/example/fioc.c index d0dce15..bee40b9 100644 --- a/example/fioc.c +++ b/example/fioc.c @@ -6,7 +6,7 @@ This program can be distributed under the terms of the GNU GPL. See the file COPYING. - gcc -Wall `pkg-config fuse --cflags --libs` fioc.c -o fioc + gcc -Wall fioc.c `pkg-config fuse --cflags --libs` -o fioc */ #define FUSE_USE_VERSION 26 diff --git a/example/fsel.c b/example/fsel.c index f30ddd5..9cf0221 100644 --- a/example/fsel.c +++ b/example/fsel.c @@ -6,7 +6,7 @@ This program can be distributed under the terms of the GNU GPL. See the file COPYING. - gcc -Wall `pkg-config fuse --cflags --libs` fsel.c -o fsel + gcc -Wall fsel.c `pkg-config fuse --cflags --libs` -o fsel */ #define FUSE_USE_VERSION 29 diff --git a/example/fusexmp.c b/example/fusexmp.c index fa3fb4d..20a7116 100644 --- a/example/fusexmp.c +++ b/example/fusexmp.c @@ -6,7 +6,7 @@ This program can be distributed under the terms of the GNU GPL. See the file COPYING. - gcc -Wall `pkg-config fuse --cflags --libs` fusexmp.c -o fusexmp + gcc -Wall fusexmp.c `pkg-config fuse --cflags --libs` -o fusexmp */ #define FUSE_USE_VERSION 26 diff --git a/example/fusexmp_fh.c b/example/fusexmp_fh.c index e9524c6..d79ff37 100644 --- a/example/fusexmp_fh.c +++ b/example/fusexmp_fh.c @@ -6,7 +6,7 @@ This program can be distributed under the terms of the GNU GPL. See the file COPYING. - gcc -Wall `pkg-config fuse --cflags --libs` -lulockmgr fusexmp_fh.c -o fusexmp_fh + gcc -Wall fusexmp_fh.c `pkg-config fuse --cflags --libs` -lulockmgr -o fusexmp_fh */ #define FUSE_USE_VERSION 26 diff --git a/example/hello.c b/example/hello.c index bcde80a..bcb6b4c 100644 --- a/example/hello.c +++ b/example/hello.c @@ -5,7 +5,7 @@ This program can be distributed under the terms of the GNU GPL. See the file COPYING. - gcc -Wall `pkg-config fuse --cflags --libs` hello.c -o hello + gcc -Wall hello.c `pkg-config fuse --cflags --libs` -o hello */ #define FUSE_USE_VERSION 26 diff --git a/example/hello_ll.c b/example/hello_ll.c index 1d3a1a8..1405441 100644 --- a/example/hello_ll.c +++ b/example/hello_ll.c @@ -5,7 +5,7 @@ This program can be distributed under the terms of the GNU GPL. See the file COPYING. - gcc -Wall `pkg-config fuse --cflags --libs` hello_ll.c -o hello_ll + gcc -Wall hello_ll.c `pkg-config fuse --cflags --libs` -o hello_ll */ #define FUSE_USE_VERSION 26 diff --git a/example/null.c b/example/null.c index 0845586..b72cf4d 100644 --- a/example/null.c +++ b/example/null.c @@ -5,7 +5,7 @@ This program can be distributed under the terms of the GNU GPL. See the file COPYING. - gcc -Wall `pkg-config fuse --cflags --libs` null.c -o null + gcc -Wall null.c `pkg-config fuse --cflags --libs` -o null */ #define FUSE_USE_VERSION 26 -- 2.30.2