Add pthread to cli gcc build command

This commit is contained in:
Melon 2021-04-29 17:31:19 +01:00
parent 85f26bcb77
commit b6b7fcecd9

View File

@ -21,7 +21,7 @@ all:
build-shared: build-shared:
mkdir -p dist/ && \ 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} ./scripts/gcc_multiwrap.sh -I ${libshared} -- dist/libmelonvpnshared.a dist/libmelonvpnshared-obj/ ${shared_sourcefiles}
build-daemon: build-daemon:
@ -39,7 +39,7 @@ build-user:
build-cli: build-cli:
mkdir -p dist/ && \ 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: build-gui:
mkdir -p dist/ && \ mkdir -p dist/ && \