mirror of
https://github.com/OpenDriver2/REDRIVER2.git
synced 2024-11-22 02:12:43 +01:00
- add ld.so.conf for flatpak
- more stuff to setup 32 bit platform
This commit is contained in:
parent
3c4fe2c0d0
commit
ade9c48828
5
.flatpak/ld.so.conf
Normal file
5
.flatpak/ld.so.conf
Normal file
@ -0,0 +1,5 @@
|
||||
# We just make any GL32 extension have higher priority
|
||||
include /run/flatpak/ld.so.conf.d/app-*-org.freedesktop.Platform.GL32.*.conf
|
||||
/app/lib32
|
||||
/app/lib/i386-linux-gnu
|
||||
/lib64
|
@ -57,15 +57,24 @@ cleanup:
|
||||
|
||||
modules:
|
||||
|
||||
- name: ld-i386
|
||||
- name: platform-bootstrap
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
- mkdir -p /app/lib/i386-linux-gnu /app/lib/debug/lib/i386-linux-gnu
|
||||
- install -Dm644 -t /app/etc ld.so.conf
|
||||
- |
|
||||
set -e
|
||||
mkdir -p /app/bin
|
||||
mkdir -p /app/lib/i386-linux-gnu
|
||||
mkdir -p /app/lib/debug/lib/i386-linux-gnu
|
||||
mkdir -p /app/lib/i386-linux-gnu/GL
|
||||
cp /usr/bin/addr2line /app/bin/
|
||||
cp /usr/lib/x86_64-linux-gnu/libbfd-*.so /app/lib/
|
||||
install -Dm644 -t /app/etc ld.so.conf
|
||||
mkdir -p /app/links/lib
|
||||
ln -srv /app/lib /app/links/lib/x86_64-linux-gnu
|
||||
ln -srv /app/lib32 /app/links/lib/i386-linux-gnu
|
||||
sources:
|
||||
- type: shell
|
||||
commands:
|
||||
- echo "/app/lib32" > ld.so.conf
|
||||
- type: dir
|
||||
path: .flatpak
|
||||
|
||||
- name: game
|
||||
buildsystem: simple
|
||||
|
Loading…
Reference in New Issue
Block a user