Linux x86_64 builds from clean Mint install.
This commit is contained in:
parent
b9b6236981
commit
2c581919b8
1 changed files with 19 additions and 9 deletions
28
build-all.sh
28
build-all.sh
|
@ -47,7 +47,7 @@ function buildAll() {
|
||||||
|
|
||||||
mkdir -p ${G_GENERATED}
|
mkdir -p ${G_GENERATED}
|
||||||
|
|
||||||
if [[ 0 == 1 ]]; then
|
if [[ 1 == 1 ]]; then
|
||||||
pushd thirdparty/SDL2
|
pushd thirdparty/SDL2
|
||||||
clearAndEnterBuild
|
clearAndEnterBuild
|
||||||
cmake ${COMMON} \
|
cmake ${COMMON} \
|
||||||
|
@ -165,13 +165,18 @@ if [[ 0 == 1 ]]; then
|
||||||
-DENABLE_TAR=off \
|
-DENABLE_TAR=off \
|
||||||
-DENABLE_TEST=off \
|
-DENABLE_TEST=off \
|
||||||
-DENABLE_UNZIP=off \
|
-DENABLE_UNZIP=off \
|
||||||
|
-DPOSIX_REGEX_LIB=libc \
|
||||||
|
-DUSE_BZIP2_STATIC=on \
|
||||||
-DBZIP2_INCLUDE_DIR="${G_TARGET}/include" \
|
-DBZIP2_INCLUDE_DIR="${G_TARGET}/include" \
|
||||||
|
-DBZIP2_LIBRARIES="${G_TARGET}/lib/libbz2_static.a" \
|
||||||
|
-DZLIB_ROOT="${G_TARGET}" \
|
||||||
-DLIBLZMA_INCLUDE_DIR="${G_TARGET}/include" \
|
-DLIBLZMA_INCLUDE_DIR="${G_TARGET}/include" \
|
||||||
-DZLIB_INCLUDE_DIR="${G_TARGET}/include" \
|
-DLIBLZMA_LIBRARY="${G_TARGET}/lib/liblzma.a" \
|
||||||
-DZSTD_INCLUDE_DIR="${G_TARGET}/include" \
|
-DZSTD_INCLUDE_DIR="${G_TARGET}/include" \
|
||||||
-DZSTD_LIBRARY="${G_TARGET}/lib/libzstd.a" \
|
-DZSTD_LIBRARY="${G_TARGET}/lib/libzstd.a" \
|
||||||
-DWINDOWS_VERSION=VISTA \
|
-DWINDOWS_VERSION=VISTA \
|
||||||
..
|
..
|
||||||
|
make install
|
||||||
popd
|
popd
|
||||||
|
|
||||||
pushd thirdparty/openssl
|
pushd thirdparty/openssl
|
||||||
|
@ -227,9 +232,8 @@ if [[ 0 == 1 ]]; then
|
||||||
--cc="${CC}" \
|
--cc="${CC}" \
|
||||||
--cxx="${CXX}" \
|
--cxx="${CXX}" \
|
||||||
--ranlib="${RANLIB}"
|
--ranlib="${RANLIB}"
|
||||||
#" -l:libz.a -l:liblzma.a" \
|
make install
|
||||||
make install
|
popd
|
||||||
popd
|
|
||||||
|
|
||||||
pushd thirdparty/ffms2
|
pushd thirdparty/ffms2
|
||||||
#libtoolize --force
|
#libtoolize --force
|
||||||
|
@ -458,10 +462,16 @@ function outputLicense() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#***TODO*** SDL2 needs a few dependencies on Linux to make its dynamic loading
|
# These are required for the build.
|
||||||
# system happy. No idea the complete list yet.
|
sudo apt-get install -y \
|
||||||
#sudo apt-get install -y \
|
xxd \
|
||||||
# libasound-dev
|
imagemagick \
|
||||||
|
lua5.4 \
|
||||||
|
ffmpeg \
|
||||||
|
libasound-dev \
|
||||||
|
libxi-dev \
|
||||||
|
libvdpau-dev \
|
||||||
|
upx-ucl
|
||||||
|
|
||||||
|
|
||||||
#buildAll linux x86
|
#buildAll linux x86
|
||||||
|
|
Loading…
Add table
Reference in a new issue