Skip to contentSkip to conversation

Add pkgconfig support for liblttng-ust-ctl

PATCH Mathieu Desnoyers 1 participant 1 message Oct 23, 2019 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Mathieu Desnoyers

author Applied
#1 lore raw

Merged into master. Please let me know if it needs to be backported.

Thanks,

Mathieu

Quoted 54 lines · ----- On Oct 23, 2019, at 11:11 AM, Michael Jeanson [email protected] wrote:

---

Makefile.am         |  2 +-
configure.ac        |  1 +
lttng-ust-ctl.pc.in | 12 ++++++++++++
3 files changed, 14 insertions(+), 1 deletion(-)

create mode 100644 lttng-ust-ctl.pc.in

Makefile.am +0 -0
index 73b51909..cc923c1d 100644
@@ -32,7 +32,7 @@ SUBDIRS += tests doc
 # liblttng-ust-malloc
 

pkgconfigdir = $(libdir)/pkgconfig

Makefile.am +1 -1
-pkgconfig_DATA = lttng-ust.pc
+pkgconfig_DATA = lttng-ust.pc lttng-ust-ctl.pc
dist_doc_DATA = \
	ChangeLog \
configure.ac +1 -0
index 52fc3f68..580e0ee3 100644
@@ -555,6 +555,7 @@ AC_CONFIG_FILES([
 	tests/test-app-ctx/Makefile
 	tests/gcc-weak-hidden/Makefile
 	lttng-ust.pc
+	lttng-ust-ctl.pc
 ])
 
 # Create link for python agent for the VPATH guru.
lttng-ust-ctl.pc.in new file +7 -0
new file mode 100644
index 00000000..3170b30a
@@ -0,0 +1,12 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: LTTng Userspace Tracer control
+Description: The LTTng Userspace Tracer (UST) is a library accompanied by a set

of tools to trace userspace code.

lttng-ust-ctl.pc.in new file +5 -1
+Version: @PACKAGE_VERSION@
+Requires:
+Libs: -L${libdir} -llttng-ust-ctl
+Cflags: -I${includedir}
+
--

2.17.1

Signature · 3 lines
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com