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

pkgconfig, static lib and uClibc linking fixes #174

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

pkgconfig, static lib and uClibc linking fixes #174

wants to merge 4 commits into from

Commits on Oct 28, 2015

  1. Install the pkgconfig file in the usual location

    Signed-off-by: Vicente Olivert Riera <[email protected]>
    Vicente Olivert Riera authored and Vicente Olivert Riera committed Oct 28, 2015
    Configuration menu
    Copy the full SHA
    1a7923d View commit details
    Browse the repository at this point in the history
  2. Let the shared and the static library have the same name

    The will be differentiated by the extension (.so or .a)
    
    Signed-off-by: Vicente Olivert Riera <[email protected]>
    Vicente Olivert Riera authored and Vicente Olivert Riera committed Oct 28, 2015
    Configuration menu
    Copy the full SHA
    6d09f11 View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2015

  1. Allow the user to not build the shared library

    Signed-off-by: Vicente Olivert Riera <[email protected]>
    Vicente Olivert Riera authored and Vicente Olivert Riera committed Oct 29, 2015
    Configuration menu
    Copy the full SHA
    814e039 View commit details
    Browse the repository at this point in the history
  2. Fix json_reformat, yajl_test and gen-extra-close linking with uClibc

    json_reformat, yajl_test and gen-extra-close call yajl_gen_* functions,
    which internally use isnan() and isinf(). On glibc, these are provided
    by libc, but on uClibc you need to link with -lm (like the spec says),
    otherwise the build process will fail with an error like this one:
    
    yajl_gen.c:(.text+0x67c): undefined reference to `__isnan'
    yajl_gen.c:(.text+0x70c): undefined reference to `__isinf'
    
    Signed-off-by: Vicente Olivert Riera <[email protected]>
    Vicente Olivert Riera authored and Vicente Olivert Riera committed Oct 29, 2015
    Configuration menu
    Copy the full SHA
    f272fb4 View commit details
    Browse the repository at this point in the history