Ver Fonte

feat(dev): add libc++.so.1 for dependency detection (#3181)

Co-authored-by: Daniel Gibbs <me@danielgibbs.co.uk>
Christian há 5 anos atrás
pai
commit
706bc358f0
1 ficheiros alterados com 5 adições e 0 exclusões
  1. 5 0
      lgsm/functions/command_dev_detect_deps.sh

+ 5 - 0
lgsm/functions/command_dev_detect_deps.sh

@@ -155,6 +155,11 @@ while read -r lib; do
 		echo -e "libfreetype6" >> "${tmpdir}/.depdetect_ubuntu_list"
 		echo -e "libfreetype6" >> "${tmpdir}/.depdetect_debian_list"
 		libdetected=1
+	elif [ "${lib}" == "libc++.so.1" ]; then
+		echo -e "libcxx" >> "${tmpdir}/.depdetect_centos_list"
+		echo -e "libc++1" >> "${tmpdir}/.depdetect_ubuntu_list"
+		echo -e "libc++1" >> "${tmpdir}/.depdetect_debian_list"
+		libdetected=1
 	fi
 
 	if [ "${libdetected}" != "1" ]; then