diff --git a/sapi/scripts/msys2/archive.sh b/sapi/scripts/msys2/archive.sh index 8ce779128..e0801026c 100644 --- a/sapi/scripts/msys2/archive.sh +++ b/sapi/scripts/msys2/archive.sh @@ -23,9 +23,12 @@ mkdir -p /tmp/${NAME} mkdir -p /tmp/${NAME}/etc/ cd ${__PROJECT__}/ +ldd ${__PROJECT__}/bin/php.exe | grep -v '/c/Windows/' | awk '{print $3}' ldd ${__PROJECT__}/bin/php.exe | grep -v '/c/Windows/' | awk '{print $3}' | xargs -I {} cp {} /tmp/${NAME}/ -cp -f ${__PROJECT__}/bin/LICENSE /tmp/${NAME}/ +ls -lh /tmp/${NAME}/ + +# cp -f ${__PROJECT__}/bin/LICENSE /tmp/${NAME}/ # cp -f ${__PROJECT__}/bin/credits.html /tmp/${NAME}/ cp -rL /etc/pki/ /tmp/${NAME}/etc/