diff --git a/userspace/compile-mapbox-gl-native.sh b/userspace/compile-mapbox-gl-native.sh index d9271f1..0fee93a 100755 --- a/userspace/compile-mapbox-gl-native.sh +++ b/userspace/compile-mapbox-gl-native.sh @@ -1,5 +1,15 @@ #!/bin/bash -e +g++ --version +dpkg --list | grep gcc | grep -v lib + +apt-get install --no-install-recommends -yq g++-11 + +g++-11 --version +dpkg --list | grep g++ | grep -v lib + +export CXX=g++-11 + # Build mapbox-gl-native cd /tmp git clone --recursive https://github.com/andiradulescu/mapbox-gl-native.git