mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-05-09 03:41:10 +08:00
another one
This commit is contained in:
parent
771f1c8304
commit
4e176dea01
@ -5,6 +5,10 @@
|
|||||||
# and just autoregen.
|
# and just autoregen.
|
||||||
./autogen.sh || exit 1
|
./autogen.sh || exit 1
|
||||||
|
|
||||||
|
# where are we?
|
||||||
|
top=`pwd`
|
||||||
|
if test -z "$top" ; then exit 1; fi
|
||||||
|
|
||||||
# fix
|
# fix
|
||||||
chmod +x vs2015/sdl/build-scripts/strip_fPIC.sh
|
chmod +x vs2015/sdl/build-scripts/strip_fPIC.sh
|
||||||
|
|
||||||
@ -12,6 +16,29 @@ chmod +x vs2015/sdl/build-scripts/strip_fPIC.sh
|
|||||||
echo Compiling our internal SDL 1.x
|
echo Compiling our internal SDL 1.x
|
||||||
(cd vs2015/sdl && ./build-dosbox.sh) || exit 1
|
(cd vs2015/sdl && ./build-dosbox.sh) || exit 1
|
||||||
|
|
||||||
|
# NTS: MinGW provides zlib for us
|
||||||
|
if false; then
|
||||||
|
# perfer to compile against our own zlib
|
||||||
|
echo Compiling our internal zlib
|
||||||
|
(cd vs2015/zlib && ./build-dosbox.sh) || exit 1
|
||||||
|
new="-I$top/vs2015/zlib/linux-host/include "
|
||||||
|
nld="-L$top/vs2015/zlib/linux-host/lib "
|
||||||
|
export CFLAGS="$new$CFLAGS"
|
||||||
|
export LDFLAGS="$nld$LDFLAGS"
|
||||||
|
export CPPFLAGS="$new$CPPFLAGS"
|
||||||
|
export CXXFLAGS="$new$CXXFLAGS"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# perfer to compile against our own libpng (comment this out to disable)
|
||||||
|
echo Compiling our internal libpng
|
||||||
|
(cd vs2015/libpng && ./build-dosbox.sh) || exit 1
|
||||||
|
new="-I$top/vs2015/libpng/linux-host/include "
|
||||||
|
nld="-L$top/vs2015/libpng/linux-host/lib "
|
||||||
|
export CFLAGS="$new$CFLAGS"
|
||||||
|
export LDFLAGS="$nld$LDFLAGS"
|
||||||
|
export CPPFLAGS="$new$CPPFLAGS"
|
||||||
|
export CXXFLAGS="$new$CXXFLAGS"
|
||||||
|
|
||||||
# now compile ourself
|
# now compile ourself
|
||||||
echo Compiling DOSBox-X
|
echo Compiling DOSBox-X
|
||||||
chmod +x configure
|
chmod +x configure
|
||||||
|
Loading…
x
Reference in New Issue
Block a user