mirror of
https://github.com/curl/curl.git
synced 2026-08-25 20:03:36 +03:00
re-order the compiler arguments to keep more compiler happy
This commit is contained in:
parent
183f1531d3
commit
c7d517f6d2
2 changed files with 6 additions and 1 deletions
|
|
@ -14,6 +14,11 @@ Most examples should build fine using a command line like this:
|
|||
|
||||
$ `curl-config --cc --cflags --libs` -o example example.c
|
||||
|
||||
Some compilers don't like having the arguments in this order but instead
|
||||
want you do reorganize them like:
|
||||
|
||||
$ `curl-config --cc` -o example example.c `curl-config --cflags --libs`
|
||||
|
||||
*PLEASE* do not use the curl.haxx.se site as a test target for your libcurl
|
||||
applications/experiments. Even if the examples in this directory use that site
|
||||
as an example URL at some places, it doesn't mean that the URLs work or that
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue