added libidn2 to .travis.yml
This commit is contained in:
parent
4a54c3cf2a
commit
3b33ff2575
|
@ -6,4 +6,4 @@ compiler:
|
||||||
script: ./autogen.sh && ./configure && make && make check && make distcheck
|
script: ./autogen.sh && ./configure && make && make check && make distcheck
|
||||||
before_install:
|
before_install:
|
||||||
- sudo apt-get -qq update
|
- 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
|
||||||
|
|
|
@ -70,7 +70,6 @@ static void _add_punycode_if_needed(_psl_vector_t *v)
|
||||||
char *asc = NULL;
|
char *asc = NULL;
|
||||||
int rc;
|
int rc;
|
||||||
|
|
||||||
|
|
||||||
if ((rc = idn2_lookup_u8((uint8_t *)e->label_buf, (uint8_t **)&asc, 0)) == IDN2_OK) {
|
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);
|
// fprintf(stderr, "idn2 '%s' -> '%s'\n", e->label_buf, asc);
|
||||||
_suffix_init(&suffix, asc, strlen(asc));
|
_suffix_init(&suffix, asc, strlen(asc));
|
||||||
|
|
Loading…
Reference in New Issue