Skip to content
Snippets Groups Projects
  • Matt Jordan's avatar
    f4798faa
    res_corosync: Fix linking issue with Corosync 2.x · f4798faa
    Matt Jordan authored
    At some point in time in the history of Corosync (certainly within the
    2.x branch), the corosync_cfg_state_track function was removed.
    Unfortunately, the cfg library is only linked if this function is
    present. Without the cfg library being linked to res_corosync, loading
    of res_corosync will fail.
    
    This patch makes it so that detecting corosync's core libraries,
    determined by the COROSYNC external library checks, links both the cpg
    and cfg libraries with res_corosync.
    
    Change-Id: I674e9e1c8fea11c3bf81154aaa7c1fd43f945465
    f4798faa
    History
    res_corosync: Fix linking issue with Corosync 2.x
    Matt Jordan authored
    At some point in time in the history of Corosync (certainly within the
    2.x branch), the corosync_cfg_state_track function was removed.
    Unfortunately, the cfg library is only linked if this function is
    present. Without the cfg library being linked to res_corosync, loading
    of res_corosync will fail.
    
    This patch makes it so that detecting corosync's core libraries,
    determined by the COROSYNC external library checks, links both the cpg
    and cfg libraries with res_corosync.
    
    Change-Id: I674e9e1c8fea11c3bf81154aaa7c1fd43f945465