Install headers in ${includedir}/libnl3
This allows for multiple major versions to be installed in parallel. Pkg-config files are adapted to provide appropriate cflags to find new header locations.
This commit is contained in:
parent
7b0d063fc1
commit
226b387557
5 changed files with 7 additions and 5 deletions
|
@ -1,6 +1,8 @@
|
|||
# -*- Makefile -*-
|
||||
|
||||
nobase_include_HEADERS = \
|
||||
libnlincludedir = $(includedir)/libnl@MAJ_VERSION@
|
||||
|
||||
nobase_libnlinclude_HEADERS = \
|
||||
netlink/cli/addr.h \
|
||||
netlink/cli/class.h \
|
||||
netlink/cli/cls.h \
|
||||
|
|
|
@ -7,4 +7,4 @@ Name: libnl
|
|||
Description: Convenience library for netlink sockets
|
||||
Version: @PACKAGE_VERSION@
|
||||
Libs: -L${libdir} -lnl
|
||||
Cflags: -I${includedir}
|
||||
Cflags: -I${includedir}/libnl@MAJ_VERSION@
|
||||
|
|
|
@ -8,4 +8,4 @@ Description: Generic Netlink Library
|
|||
Version: @PACKAGE_VERSION@
|
||||
Requires: libnl-3
|
||||
Libs: -L${libdir} -lnl-genl
|
||||
Cflags: -I${includedir}
|
||||
Cflags: -I${includedir}/libnl@MAJ_VERSION@
|
||||
|
|
|
@ -8,4 +8,4 @@ Description: Netfilter Netlink Library
|
|||
Version: @PACKAGE_VERSION@
|
||||
Requires: libnl-3
|
||||
Libs: -L${libdir} -lnl-nf
|
||||
Cflags: -I${includedir}
|
||||
Cflags: -I${includedir}/libnl@MAJ_VERSION@
|
||||
|
|
|
@ -8,4 +8,4 @@ Description: Netlink Routing Family Library
|
|||
Version: @PACKAGE_VERSION@
|
||||
Requires: libnl-3
|
||||
Libs: -L${libdir} -lnl-route
|
||||
Cflags: -I${includedir}
|
||||
Cflags: -I${includedir}/libnl@MAJ_VERSION@
|
||||
|
|
Loading…
Add table
Reference in a new issue