diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c912fb811aec723c3802f778ea1115be67c639a6..93b883bcf422c1b662983044b049176a3c6d0540 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -29,7 +29,7 @@ build:armhflinux:
     paths:
       - target/
   before_script:
-    - dpkg --add-architecture armhf && apt-get update && apt-get install -y openssl:armhf
+    - dpkg --add-architecture armhf && apt-get update && apt-get install -y openssl:armhf libssl-dev:armhf
     - rustup target add arm-unknown-linux-gnueabihf
     - git clone --depth=1 https://github.com/raspberrypi/tools raspberrypi-tools
     - mkdir .cargo && touch .cargo/config.toml