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>
Sat, 22 Jan 2022 00:40:51 +0000 (19:40 -0500)
commit4b082b1252f03d83e732102b97bb6115da5728ab
tree1a2b30f8a48ea47ff4a60eaa71ddc042646967f7
parenta0ca32fb9091fd38038803ab1e167d333fb9443b
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/uprobe.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.02761 seconds and 5 git commands to generate.