BUILD: Disable data path in mingw builds, since it was using a hard coded path. All external data files are stored in the Windows executable file anyway.

This commit is contained in:
Kirben 2013-07-09 11:00:55 +10:00
parent fef7d59c54
commit cd8c702544

9
configure vendored
View file

@ -3946,7 +3946,14 @@ fi
test "x$prefix" = xNONE && prefix=/usr/local
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
DEFINES="$DEFINES -DDATA_PATH=\\\"$datadir\\\""
case $_host_os in
mingw*)
# Windows stores all the external data files in executable file.
;;
*)
DEFINES="$DEFINES -DDATA_PATH=\\\"$datadir\\\""
;;
esac
case $_backend in
openpandora)