mirror of
https://github.com/clearlinux/linux-steam-integration.git
synced 2026-08-26 18:35:56 +00:00
b001cbf750
This new functionality is about controlling the usage of older LibreSSL builds within Linux ports. The versions being overriden at the moment actually come from 2015, hence having this directly in LSI. Effectively we'll "solve" the issue of not being able to have both LibreSSL and OpenSSL at the same time, by adding a shim mode. With this mode we're able to provide new names for the LibreSSL libraries, so that they can be provided explicitly for LSI usage. For Solus we've opted to package this up as "libressl-shim", and suffixed all of the libraries with "-libressl". This can be controlled within the meson options for best results. For distributions already using LibreSSL as their native SSL implementation, the `native` option will ensure that the host libSSL (libressl) is used providing that it has the required 1.0.0 ABI compatibility symlinks. Signed-off-by: Ikey Doherty <ikey@solus-project.com>
19 lines
730 B
Bash
Executable File
19 lines
730 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
if [[ ! -d buildroot/build32 ]]; then
|
|
CC="gcc -m32" linux32 meson buildroot/build32 -Dwith-libressl-mode=shim --prefix=/usr --sysconfdir=/etc --datadir=/usr/share --libdir=/usr/lib32 -Dwith-shim=none -Dwith-new-libcxx-abi=true --buildtype debugoptimized
|
|
fi
|
|
|
|
if [[ ! -d buildroot/build64 ]]; then
|
|
meson buildroot/build64 -Dwith-libressl-mode=shim --prefix=/usr --sysconfdir=/etc --datadir=/usr/share --libdir=/usr/lib64 -Dwith-shim=replacement -Dwith-steam-binary=/usr/lib64/steam/steam -Dwith-frontend=true -Dwith-new-libcxx-abi=true --buildtype debugoptimized
|
|
fi
|
|
|
|
ninja -C buildroot/build32
|
|
ninja -C buildroot/build64
|
|
|
|
sudo ninja -C buildroot/build32 install
|
|
sudo ninja -C buildroot/build64 install
|
|
|
|
|