[asterisk-bugs] [Asterisk 0010813]: Should be able to dynamically link against libc-client for IMAP storage
noreply at bugs.digium.com
noreply at bugs.digium.com
Mon Sep 24 14:49:28 CDT 2007
The following issue requires your FEEDBACK.
======================================================================
http://bugs.digium.com/view.php?id=10813
======================================================================
Reported By: paravoid
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 10813
Category: Core/BuildSystem
Reproducibility: always
Severity: minor
Priority: normal
Status: feedback
Asterisk Version: 1.4.11
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 09-24-2007 01:47 CDT
Last Modified: 09-24-2007 14:49 CDT
======================================================================
Summary: Should be able to dynamically link against
libc-client for IMAP storage
Description:
Currently, "configure" allows you only to link against libc-client (for
IMAP storage) statically.
On Debian, we have the libc-client2006j2 package which only provides a
shared object for us to link against.
That's the correct behavior for the obvious benefits that dynamic linking
has.
Attached is a simple patch that we have in our tree for "configure.ac"
(it's for "configure" too, so that we don't have to run autoconf and
diverge too much from upstream sources) that switches to -lc-client.
The linker will dynamically link if a .so is found or will switch to
static linking if only .a is found.
I can see no reason why your scripts were looking c-client.a under
${IMAP_TK_DIR}/c-client/ but if there's a good reason, you should probably
add -L${IMAP_TK_DIR}/c-client to the link options to keep old behavior.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
09-24-07 14:49 putnopvut Status new => feedback
======================================================================
More information about the asterisk-bugs
mailing list