pkgconfig: link to mnl if available

The dependency on mnl breaks builds of osmo-pcu et al if mnl is used for
libosmogb, but not linked in for lib users

Change-Id: Ib4df95d5c922f8edfa33e68645652fd30d321ff8
changes/26/22026/2
Eric Wild 2 years ago committed by Hoernchen
parent 7e104d96ba
commit 2253224b33
  1. 2
      libosmogb.pc.in

@ -6,6 +6,6 @@ includedir=@includedir@
Name: Osmocom GPRS Gb Library
Description: Osmocom GPRS Gb Interface (NS/BSSGP) Library
Version: @VERSION@
Libs: -L${libdir} @TALLOC_LIBS@ -losmogb -losmovty -losmocore
Libs: -L${libdir} @TALLOC_LIBS@ -losmogb -losmovty -losmocore @LIBMNL_LIBS@
Cflags: -I${includedir}/ -fno-strict-aliasing

Loading…
Cancel
Save