Move utils_expand_path and utils_expand_path_keep_symlink to libpath.la
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 19 Jan 2022 16:35:20 +0000 (11:35 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 26 Jan 2022 21:40:21 +0000 (16:40 -0500)
commite40c873f0b555d4280c7fc01dca882069c42739c
tree2fbd3c0f0801e4c9c5f271e0bb93ddd9fe8017f3
parent25378e336ac9fdd17dbb78e79c5994f3f89794eb
Move utils_expand_path and utils_expand_path_keep_symlink to libpath.la

Move the GPLv2 helper functions utils_expand_path and
utils_expand_path_keep_symlink to libpath.la. This will allow utils.cpp
to be relicensed to LGPLv2.1 by making sure EfficiOS owns the copyright
for the entire source file.

Statically include libpath.la into libcommon-gpl.la.

The "lttng" executable is GPLv2 and only depends on libcommon-lgpl.la,
so it needs to explicitly list libpath.la as its dependency.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I2108e0bd35ce75797d4a20e65891c820a1dd79f8
14 files changed:
src/bin/lttng-relayd/main.c
src/bin/lttng-relayd/utils.c
src/bin/lttng-sessiond/main.c
src/bin/lttng-sessiond/sessiond-config.c
src/bin/lttng/Makefile.am
src/bin/lttng/commands/create.c
src/bin/lttng/commands/enable_events.c
src/common/Makefile.am
src/common/path.c [new file with mode: 0644]
src/common/path.h [new file with mode: 0644]
src/common/utils.c
src/common/utils.h
tests/unit/ini_config/ini_config.c
tests/unit/test_utils_expand_path.c
This page took 0.027001 seconds and 5 git commands to generate.