mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-27 06:42:14 -05:00
07fbaa87e1
* gnu/packages/linux.scm (falcosecurity-libs): New variable. * gnu/packages/patches/falcosecurity-libs-install-pman.patch * gnu/packages/patches/falcosecurity-libs-libscap-pc.patch * gnu/packages/patches/falcosecurity-libs-pkg-config.patch * gnu/packages/patches/falcosecurity-libs-shared-library-fix.patch * gnu/packages/patches/falcosecurity-libs-libsinsp-pkg-config.patch: New files. * gnu/local.mk (dist_patch_DATA): Register them. Change-Id: I0cb15e6a25256598678fc20eb298ad947d699ef4
16 lines
946 B
Diff
16 lines
946 B
Diff
libscap: Guard against install_lib_link_libraries-NOTFOUND.
|
|
Upstream status: https://github.com/falcosecurity/libs/pull/1842
|
|
|
|
diff --git a/cmake/modules/libscap.cmake b/cmake/modules/libscap.cmake
|
|
index 81ad2d28d..8b6b4197e 100644
|
|
--- a/cmake/modules/libscap.cmake
|
|
+++ b/cmake/modules/libscap.cmake
|
|
@@ -95,7 +95,7 @@ foreach(libscap_install_lib ${LIBSCAP_INSTALL_LIBS})
|
|
list(APPEND libscap_link_libraries ${libscap_install_lib})
|
|
get_target_property(install_lib_link_libraries ${libscap_install_lib} LINK_LIBRARIES)
|
|
foreach (install_lib_link_library ${install_lib_link_libraries})
|
|
- if (NOT ${install_lib_link_library} IN_LIST libscap_subdir_targets)
|
|
+ if (${install_lib_link_library} AND (NOT ${install_lib_link_library} IN_LIST libscap_subdir_targets))
|
|
if(${install_lib_link_library} MATCHES "/")
|
|
# We have a path. Convert it to -L<dir> + -l<lib>.
|
|
get_filename_component(scap_lib_dir ${install_lib_link_library} DIRECTORY)
|