Browse Source

-lm may be necessary to compile.


git-svn-id: http://svn.code.sf.net/p/cjson/code@7 e3330c51-1366-4df0-8b21-3ccf24e3d50e
Dave Gamble 15 years ago
parent
commit
10d4ec62e0
1 changed files with 2 additions and 2 deletions
  1. 2 2
      README

+ 2 - 2
README

@@ -34,7 +34,7 @@ First up, how do I build?
 Add cJSON.c to your project, and put cJSON.h somewhere in the header search path.
 For example, to build the test app:
 
-gcc cJSON.c test.c -o test
+gcc cJSON.c test.c -o test -lm
 ./test
 
 
@@ -244,4 +244,4 @@ which are more complex than I'd care to try and stash into a const char array[].
 Enjoy cJSON!
 
 
-- Dave Gamble, Aug 2009
+- Dave Gamble, Aug 2009