Skip to content

Commit 8ab9636

Browse files
committed
Cleanup
1 parent 4c51c31 commit 8ab9636

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

layer/Makefile

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,7 @@ build-SharpHEICLayer: libvips
1515

1616
# sharp uses several of the libs we installed or compiled. extract the full list and copy all of those into /opt/lib
1717
# extract list with ldd from sharp.node, manipulate a bit with sed to only get the absolute paths, then copy
18-
ldconfig -v
1918
LD_LIBRARY_PATH=$(PREFIX_PATH)/lib npm --prefix "$(ARTIFACTS_DIR)/nodejs/" install sharp@$(SHARP_VERSION)
20-
LD_LIBRARY_PATH=$(PREFIX_PATH)/lib ldd $(ARTIFACTS_DIR)/nodejs/node_modules/sharp/build/Release/sharp-linux-x64.node
21-
LD_LIBRARY_PATH=$(PREFIX_PATH)/lib ldd $(ARTIFACTS_DIR)/nodejs/node_modules/sharp/build/Release/sharp-linux-x64.node | sed -nE "s/^[^\/\n]*(\/[^ ]+)(.*)/\1/p"
22-
find /usr/local/lib -name '*vips*'
23-
find /opt/lib -name '*vips*'
24-
file /opt/lib/libvips-cpp.so.42
25-
file /lib64/libc.so.6
2619
LD_LIBRARY_PATH=$(PREFIX_PATH)/lib ldd $(ARTIFACTS_DIR)/nodejs/node_modules/sharp/build/Release/sharp-linux-x64.node | sed -nE "s/^[^\/\n]*(\/[^ ]+)(.*)/\1/p" | xargs cp -t $(ARTIFACTS_DIR)/lib
2720

2821
libwebp:

0 commit comments

Comments
 (0)