mirror of https://gerrit.osmocom.org/libosmocore
configure --enable-libmnl: Add libmnl to libosmocore.pc.in Requires
Change-Id: I8ad8418ada95e79bb6079f34c6b57817c6f6ab11
This commit is contained in:
parent
51e9dde95e
commit
4eb89afa80
|
@ -233,7 +233,7 @@ AC_ARG_ENABLE([libmnl],
|
||||||
)],
|
)],
|
||||||
[mnl=$enableval], [mnl="yes"])
|
[mnl=$enableval], [mnl="yes"])
|
||||||
AS_IF([test "x$mnl" = "xyes"], [
|
AS_IF([test "x$mnl" = "xyes"], [
|
||||||
PKG_CHECK_MODULES(LIBMNL, libmnl)
|
PKG_CHECK_MODULES(LIBMNL, libmnl, [AC_SUBST(LIBMNL_PC, [libmnl])])
|
||||||
AC_DEFINE([ENABLE_LIBMNL], [1], [Enable netlink socket support via libmnl])
|
AC_DEFINE([ENABLE_LIBMNL], [1], [Enable netlink socket support via libmnl])
|
||||||
])
|
])
|
||||||
AM_CONDITIONAL(ENABLE_LIBMNL, test "x$mnl" = "xyes")
|
AM_CONDITIONAL(ENABLE_LIBMNL, test "x$mnl" = "xyes")
|
||||||
|
|
|
@ -6,7 +6,7 @@ includedir=@includedir@
|
||||||
Name: Osmocom Core Library
|
Name: Osmocom Core Library
|
||||||
Description: C Utility Library
|
Description: C Utility Library
|
||||||
Version: @VERSION@
|
Version: @VERSION@
|
||||||
Requires: talloc
|
Requires: talloc @LIBMNL_PC@
|
||||||
Requires.private: @LIBSCTP_PC@
|
Requires.private: @LIBSCTP_PC@
|
||||||
Libs: -L${libdir} -losmocore
|
Libs: -L${libdir} -losmocore
|
||||||
Libs.private: @PTHREAD_LIBS@ @LIBSCTP_LIBS@
|
Libs.private: @PTHREAD_LIBS@ @LIBSCTP_LIBS@
|
||||||
|
|
Loading…
Reference in New Issue