| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
Supporting GPL/non-GPL (GnuTLS/OpenSSL) at the same time [was Re: Debian Development That Might Hit You]
From: Richard Atterer <richard_at_2005.atterer.net>
Date: Fri, 19 Aug 2005 19:23:53 +0200
This is the technical part, I thought I'd put it in a separate mail.
Daniel, it'd be great if the problem were solved by you as upstream, in a
First, try to understand the Debian POV for this. Assume the following:
- Future versions of curl will offer different features depending on
My proposed solution:
Always build and install just one libcurl.so. Building two versions might
The trick: Create your own "libcurl-ssldummy.so" version of OpenSSL. It
In the next step, make curl-config output the right library switches:
- When program A (BSD, uses OpenSSL+GnuTLS) is built, it just uses the
- When program B (GPL-licensed) is built, it passes a special switch to
B will link just fine using the dummy SSL library. When the B binary is
>From the POV of libcurl: libcurl should determine during runtime whether
Cheers,
Richard
-- __ _ |_) /| Richard Atterer | GnuPG key: | \/¯| http://atterer.net | 0x888354F7 ¯ '` ¯Received on 2005-08-19 These mail archives are generated by hypermail. |
Page updated October 16, 2006.
web site info