summaryrefslogtreecommitdiffstats
path: root/libosmousb.pc.in
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2019-12-15 19:13:26 +0100
committerHarald Welte <laforge@osmocom.org>2019-12-16 00:17:27 +0100
commitda432cdc35ddc3e2e1374f7fc46210b4a92e6f54 (patch)
tree2aea6b55f7d66bc517fbe4464de0b88b793fc521 /libosmousb.pc.in
parent7d0fe2ae6f9892faac0fc4374573869e6edf325e (diff)
libosmocore libusb integration
Osmocom applications typically use libosmocore select.[ch] event loop code as their main event dispatch mechanism. When they want to deal with libusb in a non-blocking/asynchronous way, they need to integrate libusb into that select(). The new libosmousb is doing exactly that: Providing a shared utility library for Osmocom programs that wish to use libusb. This is useful for example in simtrace2 host utilitie as well as osmo-e1d. Change-Id: I656a1a38cbb5b1f3a9145d2869d3b4d0adefcae3 Closes: OS#4299
Diffstat (limited to 'libosmousb.pc.in')
-rw-r--r--libosmousb.pc.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/libosmousb.pc.in b/libosmousb.pc.in
new file mode 100644
index 00000000..ce6d2715
--- /dev/null
+++ b/libosmousb.pc.in
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: Osmocom libusb (USB) integration
+Description: C Utility Library
+Version: @VERSION@
+Libs: -L${libdir} @TALLOC_LIBS@ -losmousb -losmocore
+Cflags: -I${includedir}/
+