summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorGeorg Schiesser2015-05-05 13:19:51 +0200
committerKarel Zak2015-05-18 11:46:05 +0200
commitfddfd4e08b72aa39d577696ce0dc1b20f973bc29 (patch)
tree955eba81983ee1b9ece749126bb2b8c8744aaa4a /configure.ac
parentcal: fix January 1753 week number printout (diff)
downloadkernel-qcow2-util-linux-fddfd4e08b72aa39d577696ce0dc1b20f973bc29.tar.gz
kernel-qcow2-util-linux-fddfd4e08b72aa39d577696ce0dc1b20f973bc29.tar.xz
kernel-qcow2-util-linux-fddfd4e08b72aa39d577696ce0dc1b20f973bc29.zip
build-sys: support unshare.static
This patch adds support for building a static version of unshare. We need to add unshare to the list of possible static programs, and provide build flags for the compiler and linker, which are equivalent to the flags of the non-static program, except additional static linking. See also: commit 2fa60c5 build-sys: support nsenter.static Signed-off-by: Georg Schiesser <georg.schiesser@opentech.at>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 3377094e1..de20245db 100644
--- a/configure.ac
+++ b/configure.ac
@@ -448,7 +448,7 @@ AC_LINK_IFELSE([AC_LANG_PROGRAM([extern char *__progname;],
AC_MSG_RESULT([no]))
dnl Static compilation
-m4_define([UL_STATIC_PROGRAMS], [losetup, mount, umount, fdisk, sfdisk, blkid, nsenter])
+m4_define([UL_STATIC_PROGRAMS], [losetup, mount, umount, fdisk, sfdisk, blkid, nsenter, unshare])
AC_ARG_ENABLE([static-programs],
[AS_HELP_STRING([--enable-static-programs=LIST],