added libidn2 to .travis.yml

This commit is contained in:
Tim Ruehsen 2014-03-22 23:05:55 +01:00
parent 4a54c3cf2a
commit 3b33ff2575
2 changed files with 1 additions and 2 deletions

View File

@ -6,4 +6,4 @@ compiler:
script: ./autogen.sh && ./configure && make && make check && make distcheck
before_install:
- sudo apt-get -qq update
- sudo apt-get -q install autoconf automake autopoint libtool gettext
- sudo apt-get -q install autoconf automake autopoint libtool gettext libidn2-0 libidn2-0-dev

View File

@ -70,7 +70,6 @@ static void _add_punycode_if_needed(_psl_vector_t *v)
char *asc = NULL;
int rc;
if ((rc = idn2_lookup_u8((uint8_t *)e->label_buf, (uint8_t **)&asc, 0)) == IDN2_OK) {
// fprintf(stderr, "idn2 '%s' -> '%s'\n", e->label_buf, asc);
_suffix_init(&suffix, asc, strlen(asc));