Skip to content
This repository was archived by the owner on Feb 20, 2023. It is now read-only.

Commit 1412c25

Browse files
committed
+libtiff / should've used ldd
1 parent 4baccee commit 1412c25

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

.lambda-build-hook/post-build.sh

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,14 @@
66
#
77
# The library libjpeg-turbo is required for cwebp-bin package
88
# and I found no way to provide it purely through npm /FS
9-
yum -y install libjpeg-turbo libpng
9+
yum -y install \
10+
libjpeg-turbo \
11+
libpng \
12+
libtiff
13+
1014
mkdir -pv "${LAMBDA_SHARED_LIB_DIR}"
11-
cp -v /usr/lib64/libjpeg.so* "${LAMBDA_SHARED_LIB_DIR}"
12-
cp -v /usr/lib64/libpng{,15}.so* "${LAMBDA_SHARED_LIB_DIR}"
15+
16+
cp -v /usr/lib64/libjpeg.so* \
17+
/usr/lib64/libpng*.so* \
18+
/usr/lib64/libtiff*.so* \
19+
"${LAMBDA_SHARED_LIB_DIR}"

.lambda-build-hook/pre-build.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
yum -y install \
2+
libjpeg-turbo-devel \
3+
libpng-devel \
4+
libtiff-devel

0 commit comments

Comments
 (0)