[ https://issues.apache.org/activemq/browse/AMQCPP-115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Albert Strasheim updated AMQCPP-115:
------------------------------------
Attachment: amqcpplibtoolv1.diff
Here's a first try at a patch for Linux and friends. It uses the [ax_cflags_gcc_option|http://autoconf-archive.cryp.to/ax_cflags_gcc_option.html]
macro to check if GCC supports the -fvisibility=hidden option and a #ifdef to check if the
GCC version is >= 4 so that the visibility attribute can be added.
I checked that the library that is produced contains only the exported symbols using nm -C
-D. Still need to see if I can actually link against this library.
> Change build to create dynamic libraries
> ----------------------------------------
>
> Key: AMQCPP-115
> URL: https://issues.apache.org/activemq/browse/AMQCPP-115
> Project: ActiveMQ C++ Client
> Issue Type: Task
> Environment: *nix, win32
> Reporter: Nathan Mittler
> Assigned To: Nathan Mittler
> Priority: Minor
> Fix For: 2.1
>
> Attachments: amqcppdllv1.diff, amqcppdllv2.diff, amqcppdllv3.diff, amqcppdllv4.diff,
amqcpplibtoolv1.diff
>
>
> Based on a flurry of user requests, we need to add support for generating dynamic libraries
to our automake scripts and the msvc project.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.