Fix windows builds of coopnet
This commit is contained in:
parent
6413565fc5
commit
0c16564b16
8
Makefile
8
Makefile
|
@ -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.
Loading…
Reference in New Issue