fixed compilation problems

linking library fok
This commit is contained in:
Václav Šmejkal 2023-02-21 07:38:19 +01:00
parent 54a039a60b
commit 76448104b7
Signed by: ENGO150
GPG Key ID: F6D6DF86242C5A59
2 changed files with 2 additions and 1 deletions

View File

@ -53,7 +53,7 @@ TEST_LOGGER=./src/logger/lib/test/main.c
LIBS_LOGGER=$(LIB_CORE) LIBS_LOGGER=$(LIB_CORE)
LIB_LOGGER=-l$(PROJECT_NAME)-logger LIB_LOGGER=-l$(PROJECT_NAME)-logger
LIBS_CHAT=$(LIB_CORE) LIBS_CHAT=$(LIB_CORE) -lpthread
# Install Files # Install Files
INSTALL_INCLUDE=/usr/include INSTALL_INCLUDE=/usr/include

View File

@ -19,6 +19,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
#include <why2/chat/common.h> #include <why2/chat/common.h>
#include <unistd.h> #include <unistd.h>
#include <time.h>
char *read_socket(int socket); char *read_socket(int socket);
void *communicate_thread(void *arg); void *communicate_thread(void *arg);