mirror of
https://github.com/ntop/n2n.git
synced 2024-09-19 00:21:11 +02:00
Dont require special build flags for just one header
This commit is contained in:
parent
e79616dc8b
commit
b22c57a16f
1
Makefile
1
Makefile
|
@ -153,7 +153,6 @@ LDLIBS+=-ln2n
|
|||
LDLIBS+=$(LDLIBS_EXTRA)
|
||||
|
||||
ifeq ($(CONFIG_TARGET),mingw)
|
||||
CFLAGS+=-I. -I./win32
|
||||
LDLIBS+=$(abspath win32/n2n_win32.a)
|
||||
LDLIBS+=-lnetapi32 -lws2_32 -liphlpapi
|
||||
N2N_DEPS+=win32/n2n_win32.a
|
||||
|
|
|
@ -52,8 +52,8 @@ typedef int ssize_t;
|
|||
|
||||
typedef unsigned long in_addr_t;
|
||||
|
||||
#include "n2n_win32.h"
|
||||
// FIXME - the above include is from a different subdir
|
||||
#include "../win32/n2n_win32.h"
|
||||
// FIXME - continue untangling the build and includes - dont have a ".." here
|
||||
|
||||
#endif /* #if defined(_MSC_VER) || defined(__MINGW32__) */
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user