From 7eb3c78d45578562f3c72e111585a10ad7f9ce6b Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Wed, 22 Sep 2021 16:06:23 -0400 Subject: [PATCH] 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 --- .gitignore | 1 + configure.ac | 1 + src/Makefile.am | 2 +- src/liburcu-memb.pc.in | 11 +++++++++++ 4 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 src/liburcu-memb.pc.in 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} -- 2.34.1