- download libbluray 0.6.2 ftp://ftp.videolan.org/pub/videolan/libbluray/0.6.2/libbluray-0.6.2.tar.bz2
- export CFLAGS=-U__STRICT_ANSI__
- export PATH=$PATH:<path to ant bin>
- export FT2_CFLAGS="-I/<path to xbmc>/xbmc/project/BuildDependencies/include/" && export FT2_LIBS="-L/<path to xbmc>/xbmc/system/players/dvdplayer/"
- ./bootstrap
- ./configure --enable-bdjava --without-libxml2 --disable-doxygen-doc --disable-examples
- make
- copy all .o files form the various src/*.libs folders to a new directory
- gcc -shared -Xlinker --export-all-symbols -o libbluray.dll *.o -L/C/XBMC/xbmc/system/players/dvdplayer/ -lfreetype6 
