From b6b7fcecd941cd0b67a37c6fa8f523227a0a4ba6 Mon Sep 17 00:00:00 2001 From: MrMelon Date: Thu, 29 Apr 2021 17:31:19 +0100 Subject: [PATCH] Add pthread to cli gcc build command --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 86a91dc..cf2f3db 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,7 @@ all: build-shared: mkdir -p dist/ && \ - mkdir -p dist/libmelonvpnshared-obj/ && \ + mkdir -p dist/libmelonvpnshared-obj/ && \ ./scripts/gcc_multiwrap.sh -I ${libshared} -- dist/libmelonvpnshared.a dist/libmelonvpnshared-obj/ ${shared_sourcefiles} build-daemon: @@ -39,7 +39,7 @@ build-user: build-cli: mkdir -p dist/ && \ - gcc -rdynamic -o dist/melonvpn -I ${libshared} ${cli_sourcefiles} dist/libmelonvpnshared.a -DPROJ_VERSION=\"${proj_version}\" -ldl + gcc -rdynamic -o dist/melonvpn -I ${libshared} ${cli_sourcefiles} dist/libmelonvpnshared.a -DPROJ_VERSION=\"${proj_version}\" -ldl -pthread build-gui: mkdir -p dist/ && \