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.12.3~2 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=b5780fcfbb3257affba77a17c7e305a065359e7a;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 e54aefd..7be406d 100644 --- a/.gitignore +++ b/.gitignore @@ -162,4 +162,5 @@ liburcu-bp.pc liburcu-cds.pc liburcu-qsbr.pc liburcu-mb.pc +liburcu-memb.pc liburcu-signal.pc diff --git a/configure.ac b/configure.ac index 98c5301..10e9ab3 100644 --- a/configure.ac +++ b/configure.ac @@ -398,6 +398,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 88ccc1f..2ec35de 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -61,7 +61,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 = compat_arch_x86.c \ 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}