mirror of
https://github.com/clangen/musikcube.git
synced 2024-12-26 00:16:09 +00:00
Cross-compile isn't happy with OpenSSL 3.0.2, so let's use 1.1.1n for rpi.
This commit is contained in:
parent
e9b6559525
commit
7362a7eb86
@ -14,7 +14,7 @@
|
||||
* added support for the `piggy` debug tool to help with log collection and
|
||||
remote app monitoring. disabled by default.
|
||||
* updated Linux/macOS dependencies for standalone *nix builds: boost 1.79.0,
|
||||
openssl 3.0.2, curl 7.83.0, ffmpeg 5.0.1, libopenmtp 0.6.2
|
||||
openssl 3.0.2 (1.1.1n for rpi), curl 7.83.0, ffmpeg 5.0.1, libopenmtp 0.6.2
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
|
@ -50,6 +50,7 @@ fi
|
||||
|
||||
# update cross-compile vars, if specified.
|
||||
if [[ $CROSSCOMPILE == "rpi" ]]; then
|
||||
OPENSSL_VERSION="1.1.1n"
|
||||
ARM_ROOT="/build/rpi/sysroot"
|
||||
export CPPFLAGS="-I${ARM_ROOT}/usr/include"
|
||||
export CXXFLAGS="$CXXFLAGS -I${ARM_ROOT}/usr/include"
|
||||
@ -59,7 +60,7 @@ if [[ $CROSSCOMPILE == "rpi" ]]; then
|
||||
GENERIC_CONFIGURE_FLAGS="--build=x86_64-pc-linux-gnu --host=arm-linux-gnueabihf --with-sysroot=${ARM_ROOT}"
|
||||
FFMPEG_CONFIGURE_FLAGS="--arch=${ARCH} --target-os=linux --cross-prefix=arm-linux-gnueabihf-"
|
||||
BOOST_TOOLSET="toolset=gcc-arm"
|
||||
PKG_CONFIG_PATH="${OUTDIR}:${LIBDIR}:${LIBDIR}/pkgconfig/:${ARM_ROOT}/usr/lib/arm-linux-gnueabihf/pkgconfig/"
|
||||
PKG_CONFIG_PATH="${LIBDIR}/pkgconfig/:${ARM_ROOT}/usr/lib/arm-linux-gnueabihf/pkgconfig/"
|
||||
printf "\n\ndetected CROSSCOMPILE=${CROSSCOMPILE}\n"
|
||||
printf " CFLAGS=${CFLAGS}\n CXXFLAGS=${CXXFLAGS}\n LDFLAGS=${LDFLAGS}\n GENERIC_CONFIGURE_FLAGS=${GENERIC_CONFIGURE_FLAGS}\n"
|
||||
printf " BOOST_TOOLSET=${BOOST_TOOLSET}\n OPENSSL_TYPE=${OPENSSL_TYPE}\n OPENSSL_CROSSCOMPILE_PREFIX=${OPENSSL_CROSSCOMPILE_PREFIX}\n"
|
||||
|
Loading…
Reference in New Issue
Block a user