From 799d344f0b89f0c3565f54ad740e7964eb75b7d2 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 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} -- 2.34.1