Skip to content

Commit

Permalink
Added how to build tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry-Eremeev committed Nov 3, 2021
1 parent 8826c30 commit 769b339
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ $ sudo apt install libcurl4-openssl-dev libjson-c-dev
$ gcc -g3 -c -pedantic -Wall -fpic keystone-client.c -lcurl -ljson-c && \
gcc -shared -o libkeystone-client.so keystone-client.o

$ gcc -g3 -L/home/mitya/code/keystone-client -Wall -o test tests.c \
-lkeystone-client -lcurl -ljson-c

$ export LD_LIBRARY_PATH=<PATH_TO_REPO>:$LD_LIBRARY_PATH

$ ./test

0 comments on commit 769b339

Please sign in to comment.