diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-02-15 16:25:49 -0800 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-02-15 16:25:49 -0800 |
commit | 3361b4030b85d1f024d3e096a34a39f5e5ebeab2 (patch) | |
tree | 9de85786228e0fbe3f5737c287740c4af5a799ed /make-linux.mk | |
parent | bdadd50251bbe069dd16cadb77b1c52f30bc6517 (diff) | |
download | infinitytier-3361b4030b85d1f024d3e096a34a39f5e5ebeab2.tar.gz infinitytier-3361b4030b85d1f024d3e096a34a39f5e5ebeab2.zip |
Integrate and test linux privilege drop code (from contributor PR). It works now if a "zerotier-one" user is present on a Linux system. Does everything automagically.
Diffstat (limited to 'make-linux.mk')
-rw-r--r-- | make-linux.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/make-linux.mk b/make-linux.mk index 8ee0f88c..29d19830 100644 --- a/make-linux.mk +++ b/make-linux.mk @@ -107,8 +107,8 @@ endif all: one -one: $(OBJS) service/OneService.o one.o osdep/LinuxEthernetTap.o osdep/LinuxDropPrivileges.o - $(CXX) $(CXXFLAGS) $(LDFLAGS) -o zerotier-one $(OBJS) service/OneService.o one.o osdep/LinuxEthernetTap.o osdep/LinuxDropPrivileges.o $(LDLIBS) +one: $(OBJS) service/OneService.o one.o osdep/LinuxEthernetTap.o + $(CXX) $(CXXFLAGS) $(LDFLAGS) -o zerotier-one $(OBJS) service/OneService.o one.o osdep/LinuxEthernetTap.o $(LDLIBS) $(STRIP) zerotier-one ln -sf zerotier-one zerotier-idtool ln -sf zerotier-one zerotier-cli |