mirror of
https://github.com/ntop/n2n.git
synced 2024-09-19 00:21:11 +02:00
Ensure library is included in correct order
It looks to me that the correct way to address this build wrinkle is simply to add the win32 functions to the libn2n when building a win32 output, then there is no additional magic library juggling required for the win32 case
This commit is contained in:
parent
1e8a085f1e
commit
4d2e92ac81
5
Makefile
5
Makefile
|
@ -136,12 +136,13 @@ LINT_CCODE=\
|
|||
tools/tests-transform.c \
|
||||
tools/tests-wire.c \
|
||||
|
||||
|
||||
LDLIBS+=-ln2n
|
||||
ifneq (,$(findstring mingw,$(CONFIG_HOST_OS)))
|
||||
LDLIBS+=$(abspath win32/n2n_win32.a)
|
||||
endif
|
||||
LDLIBS+=$(LDLIBS_EXTRA)
|
||||
|
||||
ifneq (,$(findstring mingw,$(CONFIG_HOST_OS)))
|
||||
LDLIBS+=$(abspath win32/n2n_win32.a)
|
||||
N2N_DEPS+=win32/n2n_win32.a
|
||||
SUBDIRS+=win32
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue
Block a user