mirror of
https://github.com/ntop/n2n.git
synced 2026-10-19 16:16:12 +00:00
Move the special windows lib config into the configure script
This commit is contained in:
@@ -18,12 +18,15 @@ chmod a+x configure
|
||||
|
||||
cat >config.mak <<EOF
|
||||
CONFIG_HOST=x86_64-w64-mingw32
|
||||
CONFIG_HOST_OS=mingw32
|
||||
CONFIG_PREFIX=/usr/local
|
||||
|
||||
CC=gcc
|
||||
AR=ar
|
||||
WINDRES=windres
|
||||
CFLAGS=$CFLAGS -g -O2
|
||||
LDFLAGS=$LDFLAGS
|
||||
LDLIBS_EXTRA=$LDLIBS
|
||||
LDLIBS_EXTRA=-lnetapi32 -lws2_32 -liphlpapi
|
||||
EOF
|
||||
|
||||
cat <<EOF >include/config.h
|
||||
|
||||
Reference in New Issue
Block a user