-
-
Notifications
You must be signed in to change notification settings - Fork 85
Closed
Description
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
Labels
No labels