This commit is contained in:
Wengier
2021-03-07 05:33:27 -05:00
parent c136cc1052
commit ad61b40b8f
10 changed files with 75 additions and 12 deletions

View File

@@ -43,6 +43,17 @@ export LDFLAGS="$nld$LDFLAGS"
export CPPFLAGS="$new$CPPFLAGS"
export CXXFLAGS="$new$CXXFLAGS"
# perfer to compile against our own freetype
echo Compiling our internal freetype
(cd vs2015/freetype && ./build-dosbox.sh) || exit 1
new="-I$top/vs2015/freetype/linux-host/include/freetype2 "
nld="-L$top/vs2015/freetype/linux-host/lib -lfreetype "
export CFLAGS="$new$CFLAGS"
export LDFLAGS="$nld$LDFLAGS"
export CPPFLAGS="$new$CPPFLAGS"
export CXXFLAGS="$new$CXXFLAGS"
export INTERNAL_FREETYPE=1
# now compile ourself
echo Compiling DOSBox-X
chmod +x configure