Skip to content

Commit 882296b

Browse files
committed
arm64 /usr/include/x86_64-linux-gnu/curl doesn’t exits might need to build a onwn one
1 parent 1531315 commit 882296b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/hst_autocompile.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,11 @@ if [ "$dontinstalldeps" != 'true' ]; then
254254

255255
# Fix for Debian PHP Envroiment
256256
if [ ! -e /usr/local/include/curl ]; then
257-
ln -s /usr/include/x86_64-linux-gnu/curl /usr/local/include/curl
257+
if [ $BUILD_ARCH == "amd64" ]; then
258+
ln -s /usr/include/x86_64-linux-gnu/curl /usr/local/include/curl
259+
else
260+
echo "No x86_64 working"
261+
fi
258262
fi
259263
fi
260264
fi

0 commit comments

Comments
 (0)