File: README.MinGW

package info (click to toggle)
geoip 1.4.8+dfsg-3
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 3,272 kB
  • sloc: ansic: 19,471; sh: 10,137; cpp: 526; perl: 177; makefile: 133; awk: 13
file content (13 lines) | stat: -rw-r--r-- 364 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
# how to build under MinGW/MSYS:
# (first you need to build & "install" zlib)

export "CFLAGS=-O3 -I/usr/local/include"
export "LDFLAGS=-L/usr/local/lib -lwsock32"
./configure
make
cp data/GeoIP.dat test/
make check

# note that GeoIP.dat file should be placed in the
# same place as GeoIP-enabled executable modules!
# there's NO DEFAULT PATH concept on Win32 :)