From 13f312c6ad6df205338a63f237f8289ab4806132 Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Wed, 12 Oct 2016 22:35:46 +0200 Subject: [PATCH] Tools/openssl/build - problems with configuration fixed --- Tools/openssl/build | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Tools/openssl/build b/Tools/openssl/build index 4c6ea8f..3db67ca 100755 --- a/Tools/openssl/build +++ b/Tools/openssl/build @@ -1,17 +1,17 @@ #!/usr/bin/env modbuild -case ${OS} in -Darwin ) - target='darwin64-x86_64-cc' - ;; -Linux ) - target='linux-x86_64' - ;; -esac pbuild::configure() { + case ${OS} in + Darwin ) + target='darwin64-x86_64-cc' + ;; + Linux ) + target='linux-x86_64' + ;; + esac export CFLAGS=-fPIC - "${MODULE_SRCDIR}"/config shared --prefix="${PREFIX}" \ + "${MODULE_SRCDIR}"/Configure shared --prefix="${PREFIX}" ${target} \ || exit 1 }