Fix windows builds of coopnet

This commit is contained in:
MysterD 2023-04-10 20:00:18 -07:00
parent ba338ec2dd
commit 46dcd3cc50
3 changed files with 4 additions and 4 deletions

View file

@ -987,17 +987,17 @@ endif
ifeq ($(COOPNET),1) ifeq ($(COOPNET),1)
ifeq ($(WINDOWS_BUILD),1) ifeq ($(WINDOWS_BUILD),1)
ifeq ($(TARGET_BITS), 32) ifeq ($(TARGET_BITS), 32)
LDFLAGS += -Llib/coopnet/win32 -l:libcoopnet.a LDFLAGS += -Llib/coopnet/win32 -l:libcoopnet.a -l:libjuice.a -lbcrypt -lws2_32
else else
LDFLAGS += -Llib/coopnet/win64 -l:libcoopnet.a LDFLAGS += -Llib/coopnet/win64 -l:libcoopnet.a -l:libjuice.a -lbcrypt -lws2_32
endif endif
else ifeq ($(OSX_BUILD),1) else ifeq ($(OSX_BUILD),1)
LDFLAGS += -L./lib/coopnet/mac/ -l coopnet LDFLAGS += -L./lib/coopnet/mac/ -l coopnet
else ifeq ($(TARGET_RPI),1) else ifeq ($(TARGET_RPI),1)
ifneq (,$(findstring aarch64,$(machine))) ifneq (,$(findstring aarch64,$(machine)))
LDFLAGS += -Llib/coopnet/linux -l:libcoopnet-arm64.a LDFLAGS += -Llib/coopnet/linux -l:libcoopnet-arm64.a -l:libjuice.a
else else
LDFLAGS += -Llib/coopnet/linux -l:libcoopnet-arm.a LDFLAGS += -Llib/coopnet/linux -l:libcoopnet-arm.a -l:libjuice.a
endif endif
else else
LDFLAGS += -Llib/coopnet/linux -l:libcoopnet.a -l:libjuice.a LDFLAGS += -Llib/coopnet/linux -l:libcoopnet.a -l:libjuice.a

Binary file not shown.

Binary file not shown.