Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve support for newer msgpack-c releases. #133

Merged
merged 3 commits into from
Feb 23, 2020
Merged

Improve support for newer msgpack-c releases. #133

merged 3 commits into from
Feb 23, 2020

Commits on Jun 15, 2016

  1. Use pkg-config to find msgpack library when available

    Since 0.5.8, msgpack-c has provided a pkg-config file.  If it's
    installed, use pkg-config to get the relevant CFLAGS/LDFLAGS.
    
    Signed-off-by: James McCoy <jamessan@jamessan.com>
    jamessan committed Jun 15, 2016
    Configuration menu
    Copy the full SHA
    ca170bc View commit details
    Browse the repository at this point in the history
  2. Use msgpack_pack_v4raw(_body) with new msgpack-c versions

    In msgpack-c's 1.0.0 release, the code was changed to be compatible with
    the v5 msgpack spec, specifically separating out the STR and BIN types
    as replacements for the old RAW type.
    
    While the STR type is likely the right replacement type to use, it does
    introduce a str 8 variant that wasn't present for the old RAW type.  For
    better compatibility, the msgpack_pack_v4raw functions were added to
    directly map to the old functionality.
    
    Signed-off-by: James McCoy <jamessan@jamessan.com>
    jamessan committed Jun 15, 2016
    Configuration menu
    Copy the full SHA
    7526080 View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2016

  1. Find libmsgpackc in Multi-Arch library paths

    The msgpack library may be present in /usr/lib or /usr/lib/$arch,
    but only the former is being searched.  Check both places and fix the
    library name to use the C lib (libmsgpackc) rather than the C++ lib
    (libmsgpack).
    
    Signed-off-by: James McCoy <jamessan@jamessan.com>
    jamessan committed Jul 22, 2016
    Configuration menu
    Copy the full SHA
    2a8908b View commit details
    Browse the repository at this point in the history