- download libbluray 0.6.1 ftp://ftp.videolan.org/pub/videolan/libbluray/0.6.1/libbluray-0.6.1.tar.bz2
- export CFLAGS=-U__STRICT_ANSI__
- ./bootstrap
- ./configure --without-libxml2 --without-freetype --disable-examples
- copy all .o files form the various src/*.libs folders to a new directory
- run 
  gcc -shared -m32 -std=c99 -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112L -D_REENTRANT -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -Wextra -Winline -O3 -fomit-frame-pointer -o libbluray.dll *.o 