Skip to content
  • Vitaly Chikunov's avatar
    Multi-library support with core suffix in soname · b409097e
    Vitaly Chikunov authored and Jan Kiszka's avatar Jan Kiszka committed
    
    
    Enable soname suffix with --enable-so-suffix configure option (Mercury
    core only).
    
    This will allow (for users) installing both versions of libs into the
    same system and (for distributions) having them without conflicts in
    the same repository.
    
    Such script is used to change Makefile.am-s:
    
      for lib in copperplate alchemy psos smokey trank vxworks
      do
        find -name Makefile.am \
        | xargs -r \
          sed -i -e "s/lib${lib}\.la/lib${lib}@CORE@\.la/g" \
                 -e "s/lib${lib}\_la/lib${lib}@CORE@\_la/g"
      done
    
    Signed-off-by: default avatarJan Kiszka <jan.kiszka@siemens.com>
    b409097e