From 769b339b731a4c507615a83a403ca2b572009334 Mon Sep 17 00:00:00 2001 From: Mitya_Eremeev Date: Wed, 3 Nov 2021 19:19:37 +0300 Subject: [PATCH] Added how to build tests --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 02a971f..810d082 100644 --- a/README.md +++ b/README.md @@ -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=:$LD_LIBRARY_PATH $ ./test