From 864587540f501ff3f95a82864fafb87421823cf0 Mon Sep 17 00:00:00 2001 From: Jeremy Soller <jeremy@system76.com> Date: Sun, 30 Dec 2018 11:06:48 -0700 Subject: [PATCH] freeciv: Add openssl dependency --- recipes/freeciv/recipe.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/freeciv/recipe.sh b/recipes/freeciv/recipe.sh index e705d7755..711b1406c 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='' \ -- GitLab