You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow custom search path for libnl; try pkg-config when needed
Introduce LIBNL3_LIBDIR configure variable and preprocessor token to
specify a custom path for loading libnl-3 and libnl-genl-3 using
dlopen(3). This is helpful when libnl packages are installed in a
location outside the default search paths of the libraries.
Gentoo and NixOS need this feature to build.
User may specify LIBNL3_LIBDIR manually during configure. If it's not
specified, configure will try the following in order:
(1) find whether libnl exists within the default library search paths
by try linking it (LIBNL3_LIBDIR being empty),
(2) locate the 'libdir' value of libnl-3.0 package through pkg-config
and try linking with the directory included, and
(3) if both fail, go back to the default search paths (LIBNL3_LIBDIR
being empty) and assume the library doesn't exist during the build
but will exist at htop runtime.
Co-authored-by: Franz Pletz <fpletz@fnordicwalking.de>
Signed-off-by: Kang-Che Sung <explorer09@gmail.com>
0 commit comments