The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/lxc/pull/2561
This e-mail was sent by the LXC bot, direct replies will not reach the author unless they happen to be subscribed to this list. === Description (from pull-request) === Signed-off-by: Christian Brauner <[email protected]>
From 7b0791f7a6d94e5de071f0562fe1eea619ab95d2 Mon Sep 17 00:00:00 2001 From: Christian Brauner <[email protected]> Date: Tue, 21 Aug 2018 17:13:39 +0200 Subject: [PATCH] Makefile: don't allow undefined symbols Signed-off-by: Christian Brauner <[email protected]> --- src/lxc/Makefile.am | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/lxc/Makefile.am b/src/lxc/Makefile.am index 32bb8d5e0..3df290f3c 100644 --- a/src/lxc/Makefile.am +++ b/src/lxc/Makefile.am @@ -211,7 +211,8 @@ endif liblxc_la_CFLAGS = -fPIC \ -DPIC \ $(AM_CFLAGS) \ - -pthread + -pthread \ + -Wl,-no-undefined liblxc_la_LDFLAGS = -pthread \ -Wl,-soname,liblxc.so.$(firstword $(subst ., ,@LXC_ABI@)) \ @@ -401,7 +402,8 @@ pam_cgfs_la_SOURCES += ../include/strlcpy.c ../include/strlcpy.h endif pam_cgfs_la_CFLAGS = $(AM_CFLAGS) \ - -DNO_LOG + -DNO_LOG \ + -Wl,-no-undefined pam_cgfs_la_LIBADD = $(AM_LIBS) \ $(PAM_LIBS) \
_______________________________________________ lxc-devel mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-devel
