File: README.MinGW

package info (click to toggle)
geoip 1.4.7~beta6+dfsg-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 13,652 kB
  • ctags: 473
  • sloc: ansic: 19,858; sh: 8,564; cpp: 523; perl: 156; makefile: 145; 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 :)