diff --git a/recipes/freeciv/recipe.sh b/recipes/freeciv/recipe.sh
index e705d775537a8f56a7f5d6a372161d30b6237e09..711b1406c422359ba5353319fd95b6af0f760dc2 100644
--- a/recipes/freeciv/recipe.sh
+++ b/recipes/freeciv/recipe.sh
@@ -1,6 +1,6 @@
 VERSION=2.6.0
 TAR=http://files.freeciv.org/stable/freeciv-$VERSION.tar.bz2
-BUILD_DEPENDS=(curl freetype libiconv liborbital libpng sdl sdl_gfx sdl_image sdl_mixer sdl_ttf zlib)
+BUILD_DEPENDS=(curl freetype libiconv liborbital libpng openssl sdl sdl_gfx sdl_image sdl_mixer sdl_ttf zlib)
 
 function recipe_version {
     echo "$VERSION"
@@ -17,7 +17,7 @@ function recipe_build {
     sysroot="$(realpath ../sysroot)"
     export CFLAGS="-I$sysroot/include"
     export LDFLAGS="-L$sysroot/lib"
-    export LIBS="-lpthread"
+    export LIBS="-Wl,--whole-archive -lpthread -Wl,--no-whole-archive"
     ./configure \
         --host="$HOST" \
         --prefix='' \