cURL / Mailing Lists / curl-library / Single Mail

curl-library

Building libcurl --with-mbedtls instead of --with-polarssl

From: Chris Ghormley <chris_at_set-point.com>
Date: Thu, 12 Feb 2015 20:53:17 -0800

I was having various troubles linking with the newly renamed PolarSSL
(now mbedtls).

The following worked for me, not sure it will help others.

#!/bin/sh

for f in $(grep -rli polarssl *); do
     sed -i "s/polarssl/mbedtls/g" $f
     sed -i "s/PolarSSL/mbedtls/g" $f
     sed -i "s/POLARSSL/MBEDTLS/g" $f
done

Then configure/make/etc per usual.

This renames the PolarSSL configure option as well, and may not be the
best thing for a patch, but it's a start.

-- 
  Chris Ghormley / Set-Point Control
  chris_at_set-point.com
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2015-02-13