mirror of
https://github.com/ntop/n2n.git
synced 2024-09-19 16:41:11 +02:00
1accc76ad3
It looks like the github windows build environment is not correctly inheriting environment variables. Which is strange, as that has not been changed with the recent updates. Include the vars directly as a workaround (and plan to refactor later)
22 lines
376 B
Bash
Executable File
22 lines
376 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# Specifically for windows, where installing autoconf looks suspiciously
|
|
# like boiling the ocean.
|
|
|
|
cat >config.mak <<EOF
|
|
CC=gcc
|
|
AR=ar
|
|
CFLAGS=$CFLAGS -g -O2 -I./include
|
|
LDFLAGS=$LDFLAGS -L.
|
|
N2N_LIBS_EXTRA=$LDLIBS
|
|
EOF
|
|
|
|
cat >tools/config.mak <<EOF
|
|
TOOLS_ADDITIONAL=
|
|
EOF
|
|
|
|
cat <<EOF >include/config.h
|
|
#define PACKAGE_VERSION "FIXME"
|
|
#define PACKAGE_OSNAME "FIXME"
|
|
EOF
|