aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2012-05-20 15:38:54 +0200
committerDaniel Stenberg <daniel@haxx.se>2012-05-20 15:38:54 +0200
commit8ae1e657e82a9d004da0eefeaa7097d5696ec22d (patch)
tree03f97131224b5b9ae208b66abc9db7de08646d54 /docs
parent7ba07c80a16cd4ce711b5ac62d3632ae4145e9a9 (diff)
curl-config.1: fix curl-config usage in example
The curl-config command must be used twice in the single command line to work properly in some environments. Bug: http://curl.haxx.se/bug/view.cgi?id=3528241 Reported by: Julian Taylor
Diffstat (limited to 'docs')
-rw-r--r--docs/curl-config.15
1 files changed, 2 insertions, 3 deletions
diff --git a/docs/curl-config.1 b/docs/curl-config.1
index c4f4e2b12..14a9d2ba8 100644
--- a/docs/curl-config.1
+++ b/docs/curl-config.1
@@ -5,7 +5,7 @@
.\" * | (__| |_| | _ <| |___
.\" * \___|\___/|_| \_\_____|
.\" *
-.\" * Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
+.\" * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
.\" *
.\" * This software is licensed as described in the file COPYING, which
.\" * you should have received as part of this distribution. The terms
@@ -93,7 +93,6 @@ What's the installed libcurl version?
How do I build a single file with a one-line command?
- $ `curl-config --cc --cflags --libs` -o example example.c
-
+ $ `curl-config --cc --cflags` -o example example.c `curl-config --libs`
.SH "SEE ALSO"
.BR curl (1)