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

filter/texttotext.c: link with libiconv if needed #155

Merged
merged 1 commit into from
Sep 16, 2019
Merged

filter/texttotext.c: link with libiconv if needed #155

merged 1 commit into from
Sep 16, 2019

Commits on Sep 16, 2019

  1. filter/texttotext.c: link with libiconv if needed

    texttotext.c uses iconv so it should link with libiconv on platforms
    where it is a separate library (e.g. uClibc-ng without built-in NLS)
    otherwise texttotext fails to link:
    
      CCLD     texttotext
    [...]/ld: texttotext-texttotext.o: in function `main':
    texttotext.c:(.text.startup+0xde0): undefined reference to `libiconv_open'
    [...]/ld: texttotext.c:(.text.startup+0xf9d): undefined reference to `libiconv'
    [...]/ld: texttotext.c:(.text.startup+0xfd6): undefined reference to `libiconv'
    [...]/ld: texttotext.c:(.text.startup+0x16c3): undefined reference to `libiconv_close'
    
    Modify autogen.sh to call autopoint, which adds the libiconv discovery.
    It also creates a "po" skeleton but we can discard it, since it is not
    really necessary.
    
    Fixes: https://bugs.busybox.net/show_bug.cgi?id=12031
    
    Signed-off-by: Carlos Santos <unixmania@gmail.com>
    casantos committed Sep 16, 2019
    Configuration menu
    Copy the full SHA
    734ef16 View commit details
    Browse the repository at this point in the history