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:
parent
fef7d59c54
commit
cd8c702544
1 changed files with 8 additions and 1 deletions
7
configure
vendored
7
configure
vendored
|
@ -3946,7 +3946,14 @@ fi
|
|||
test "x$prefix" = xNONE && prefix=/usr/local
|
||||
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
|
||||
|
||||
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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue