diff options
author | Georg Schiesser | 2015-05-05 13:19:51 +0200 |
---|---|---|
committer | Karel Zak | 2015-05-18 11:46:05 +0200 |
commit | fddfd4e08b72aa39d577696ce0dc1b20f973bc29 (patch) | |
tree | 955eba81983ee1b9ece749126bb2b8c8744aaa4a /configure.ac | |
parent | cal: fix January 1753 week number printout (diff) | |
download | kernel-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.ac | 2 |
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], |