On 04/02/2013 01:28 PM, Gordon Sim wrote:
Ok, now the red herring is out the way, I think the problem may be the
ordering. The libraries linked to should come after the .o files in
which they are needed[1]. In the autotools build that is indeed happening.

[1] http://ubuntuforums.org/archive/index.php/t-1833136.html

Does the attached patch help? (It is not 'correct' as it doesn't remove the libraries from the link flags at the start, but it works for me and I think should result in the ibs being included again after the .o files that require them).
Index: src/ssl.cmake
===================================================================
--- src/ssl.cmake	(revision 1463514)
+++ src/ssl.cmake	(working copy)
@@ -72,6 +72,9 @@
         )
 
     add_library (sslcommon SHARED ${sslcommon_SOURCES})
+    foreach(f ${NSS_LIBRARIES})
+      target_link_libraries (sslcommon ${f})
+    endforeach(f)
     target_link_libraries (sslcommon qpidcommon)
     set_target_properties (sslcommon PROPERTIES
                            VERSION ${sslcommon_version}

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to