Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lxc
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
lxc
Commits
1d918801
Unverified
Commit
1d918801
authored
Jan 22, 2021
by
Christian Brauner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
autotools: enable static builds for commands
Signed-off-by:
Christian Brauner
<
christian.brauner@ubuntu.com
>
parent
8e43f33e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
6 deletions
+24
-6
Makefile.am
src/lxc/Makefile.am
+24
-6
No files found.
src/lxc/Makefile.am
View file @
1d918801
...
@@ -1583,8 +1583,13 @@ init_lxc_SOURCES = cmd/lxc_init.c \
...
@@ -1583,8 +1583,13 @@ init_lxc_SOURCES = cmd/lxc_init.c \
string_utils.c string_utils.h
string_utils.c string_utils.h
init_lxc_LDFLAGS
=
-pthread
init_lxc_LDFLAGS
=
-pthread
lxc_monitord_SOURCES
=
cmd/lxc_monitord.c
\
lxc_monitord_SOURCES
=
cmd/lxc_monitord.c
af_unix.c af_unix.h
\
if
ENABLE_STATIC_BINARIES
lxc_monitord_SOURCES
+=
$(liblxc_la_SOURCES)
lxc_monitord_LDFLAGS
=
-all-static
-pthread
else
lxc_monitord_SOURCES
+=
af_unix.c af_unix.h
\
caps.c caps.h
\
caps.c caps.h
\
cgroups/cgfsng.c
\
cgroups/cgfsng.c
\
cgroups/cgroup.c cgroups/cgroup.h
\
cgroups/cgroup.c cgroups/cgroup.h
\
...
@@ -1632,9 +1637,15 @@ lxc_monitord_SOURCES = cmd/lxc_monitord.c \
...
@@ -1632,9 +1637,15 @@ lxc_monitord_SOURCES = cmd/lxc_monitord.c \
if
ENABLE_SECCOMP
if
ENABLE_SECCOMP
lxc_monitord_SOURCES
+=
seccomp.c lxcseccomp.h
lxc_monitord_SOURCES
+=
seccomp.c lxcseccomp.h
endif
endif
endif
lxc_user_nic_SOURCES
=
cmd/lxc_user_nic.c
\
lxc_user_nic_SOURCES
=
cmd/lxc_user_nic.c
af_unix.c af_unix.h
\
if
ENABLE_STATIC_BINARIES
lxc_user_nic_SOURCES
+=
$(liblxc_la_SOURCES)
lxc_user_nic_LDFLAGS
=
-all-static
-pthread
else
lxc_user_nic_SOURCES
+=
af_unix.c af_unix.h
\
caps.c caps.h
\
caps.c caps.h
\
cgroups/cgfsng.c
\
cgroups/cgfsng.c
\
cgroups/cgroup.c cgroups/cgroup.h
\
cgroups/cgroup.c cgroups/cgroup.h
\
...
@@ -1684,9 +1695,15 @@ lxc_user_nic_SOURCES = cmd/lxc_user_nic.c \
...
@@ -1684,9 +1695,15 @@ lxc_user_nic_SOURCES = cmd/lxc_user_nic.c \
if
ENABLE_SECCOMP
if
ENABLE_SECCOMP
lxc_user_nic_SOURCES
+=
seccomp.c lxcseccomp.h
lxc_user_nic_SOURCES
+=
seccomp.c lxcseccomp.h
endif
endif
endif
lxc_usernsexec_SOURCES
=
cmd/lxc_usernsexec.c
\
lxc_usernsexec_SOURCES
=
cmd/lxc_usernsexec.c
af_unix.c af_unix.h
\
if
ENABLE_STATIC_BINARIES
lxc_usernsexec_SOURCES
+=
$(liblxc_la_SOURCES)
lxc_usernsexec_LDFLAGS
=
-all-static
-pthread
else
lxc_usernsexec_SOURCES
+=
af_unix.c af_unix.h
\
caps.c caps.h
\
caps.c caps.h
\
cgroups/cgfsng.c
\
cgroups/cgfsng.c
\
cgroups/cgroup.c cgroups/cgroup.h
\
cgroups/cgroup.c cgroups/cgroup.h
\
...
@@ -1738,6 +1755,7 @@ if ENABLE_SECCOMP
...
@@ -1738,6 +1755,7 @@ if ENABLE_SECCOMP
lxc_usernsexec_SOURCES
+=
seccomp.c lxcseccomp.h
lxc_usernsexec_SOURCES
+=
seccomp.c lxcseccomp.h
endif
endif
endif
endif
endif
if
ENABLE_TOOLS
if
ENABLE_TOOLS
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment