fix: brotli prefix
This commit is contained in:
parent
bd7ce59caa
commit
c7f2a0977a
2 changed files with 5 additions and 3 deletions
|
@ -23,13 +23,13 @@ RUN --network=none <<-EOF
|
|||
set -eux
|
||||
cmake -B build -G Ninja \
|
||||
-DCMAKE_BUILD_TYPE=None \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr/lib \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DBUILD_SHARED_LIBS=OFF
|
||||
cmake --build build
|
||||
|
||||
cmake -B build -G Ninja \
|
||||
-DCMAKE_BUILD_TYPE=None \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr/lib \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DBUILD_SHARED_LIBS=ON
|
||||
cmake --build build
|
||||
EOF
|
||||
|
@ -39,8 +39,9 @@ RUN <<-EOF
|
|||
set -eux
|
||||
DESTDIR=/rootfs cmake --install build
|
||||
for file in common dec enc; do
|
||||
install -D -m 755 build/libbrotli$file.a /rootfs/usr/lib/
|
||||
install -D -m 755 build/libbrotli$file.a /rootfs/usr/lib64
|
||||
done
|
||||
mv /rootfs/usr/lib64 /rootfs/usr/lib
|
||||
EOF
|
||||
|
||||
FROM stagex/filesystem AS package
|
||||
|
|
|
@ -52,6 +52,7 @@ RUN --network=none <<-EOF
|
|||
--shared-brotli \
|
||||
--without-npm \
|
||||
--without-corepack \
|
||||
--with-intl=system-icu \
|
||||
--with-icu-default-data-dir=$(icu-config --icudatadir) \
|
||||
--openssl-use-def-ca-store
|
||||
make BUILDTYPE=Release
|
||||
|
|
Loading…
Reference in a new issue