Ensure LDLIBS is consistantly treated

This commit is contained in:
Hamish Coleman
2023-05-10 18:41:18 +01:00
parent 04a2146391
commit 6ecc201017
2 changed files with 2 additions and 5 deletions
+2 -1
View File
@@ -3,6 +3,7 @@ export CC
export AR
export CFLAGS
export LDFLAGS
export LDLIBS
export TOOLS_ADDITIONAL
include config.mak
@@ -159,7 +160,7 @@ endif
ifeq ($(CONFIG_TARGET),mingw)
CFLAGS+=-I. -I./win32 -DWIN32
LDLIBS+=$(abspath win32/n2n_win32.a)
LDLIBS+=-lws2_32 -liphlpapi
LDLIBS+=-lnetapi32 -lws2_32 -liphlpapi
N2N_DEPS+=win32/n2n_win32.a
SUBDIRS+=win32
endif