Skip to content

Direct dependency "libunistring" has no configure options #214

@TurtleWilly

Description

@TurtleWilly

When building libpsl with --enable-runtime=libidn2 libunistring also seems to become a direct dependency. While libidn2 can be tuned via pkg-config or the LIBIDN2_CFLAGS/ LIBIDN2_LIBS variables there's no such visible option for libunistring in libpsl's configure --help output. The libunistring package doesn't offer any pkg-config integration too sadly… resulting in the libpsl configure just fail when it can't be located in a default directory.

A --with-libunistring-prefix= configure option would be appreciated. It also would add verbosity to this requirement.

Currently an ugly workaround via the CPPFLAGS/LDFLAGS/LIBS variables kludge is required to make things work:

./configure --prefix=/usr/local/targetdirectory/libpsl/0.21.2 \
    --enable-runtime=libidn2 \
    CPPFLAGS="-I/usr/local/targetdirectory/libunistring/latest/include" \
    LDFLAGS="-L/usr/local/targetdirectory/libunistring/latest/lib" \
    LIBS="-lunistring" \
    …

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions