From: Michael Jeanson Date: Wed, 22 Sep 2021 20:06:23 +0000 (-0400) Subject: fix: add missing pkgconfig file for memb flavour lib X-Git-Tag: v0.14.0~45 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=799d344f0b89f0c3565f54ad740e7964eb75b7d2;p=userspace-rcu.git fix: add missing pkgconfig file for memb flavour lib We ship a pkg-config file for each urcu flavour library except the latest introduced 'memb'. Change-Id: If222949941d968f63b07616776440931657aa6db Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers --- diff --git a/.gitignore b/.gitignore index 23c2769..af49d08 100644 --- a/.gitignore +++ b/.gitignore @@ -176,6 +176,7 @@ liburcu-bp.pc liburcu-cds.pc liburcu-qsbr.pc liburcu-mb.pc +liburcu-memb.pc liburcu-signal.pc /Makefile diff --git a/configure.ac b/configure.ac index 1ebdbc4..a044f64 100644 --- a/configure.ac +++ b/configure.ac @@ -319,6 +319,7 @@ AC_CONFIG_FILES([ src/liburcu-cds.pc src/liburcu-qsbr.pc src/liburcu-mb.pc + src/liburcu-memb.pc src/liburcu-signal.pc ]) diff --git a/src/Makefile.am b/src/Makefile.am index 37fa9fe..6c38353 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -52,7 +52,7 @@ liburcu_cds_la_LIBADD = liburcu-common.la pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = liburcu-cds.pc liburcu.pc liburcu-bp.pc liburcu-qsbr.pc \ - liburcu-signal.pc liburcu-mb.pc + liburcu-signal.pc liburcu-mb.pc liburcu-memb.pc EXTRA_DIST = \ urcu-call-rcu-impl.h \ diff --git a/src/liburcu-memb.pc.in b/src/liburcu-memb.pc.in new file mode 100644 index 0000000..5fb8476 --- /dev/null +++ b/src/liburcu-memb.pc.in @@ -0,0 +1,11 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: Userspace RCU membarrier syscall +Description: A userspace RCU (read-copy-update) library, membarrier syscall version +Version: @PACKAGE_VERSION@ +Requires: +Libs: -L${libdir} -lurcu-common -lurcu-memb +Cflags: -I${includedir}