Skip to content

Commit

Permalink
zlib mods
Browse files Browse the repository at this point in the history
  • Loading branch information
ksentak committed Aug 22, 2024
1 parent f8392de commit 42f5e00
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/release-github.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,14 @@ jobs:
wget https://zlib.net/zlib-1.3.1.tar.gz
tar -xzf zlib-1.3.1.tar.gz
cd zlib-1.3.1
CFLAGS="-O2 -pipe" CC=${CC} ./configure --prefix=${SYSROOT}
./configure --prefix=${SYSROOT} --libdir=${SYSROOT}/lib --includedir=${SYSROOT}/include
make
sudo make install
# Verify that zlib was installed correctly
ls -l ${SYSROOT}/lib/libz.so
ls -l ${SYSROOT}/include/zlib.h
- name: Set file permissions
run: |
chmod -R 755 ./
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,8 @@ function cloneAndInstallThunder() {
-DPORT="55555" \
-DPROXYSTUB_PATH="${PWD}/install/usr/lib/wpeframework/proxystubs" \
-DSYSTEM_PATH="${PWD}/install/usr/lib/wpeframework/plugins" \
-DZLIB_LIBRARY=${SYSROOT}/lib/libz.so \
-DZLIB_INCLUDE_DIR=${SYSROOT}/include \
-DVOLATILE_PATH="tmp" && echo "Thunder configure succeeded" || exit 9999

cmake --build build/Thunder --target install && echo "Thunder Build succeeded" || exit 9999
Expand Down

0 comments on commit 42f5e00

Please sign in to comment.