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.13.1~5 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=7eb3c78d45578562f3c72e111585a10ad7f9ce6b;p=urcu.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 a028211..ff412c4 100644 --- a/.gitignore +++ b/.gitignore @@ -160,6 +160,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 f026c6d..3a67728 100644 --- a/configure.ac +++ b/configure.ac @@ -298,6 +298,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}