summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com>2015-08-05 00:41:59 +0200
committerTobias Klauser <tklauser@distanz.ch>2015-08-05 21:12:43 +0200
commit2403c37fa6f30bd960cd1301bb4584f74398618c (patch)
tree821848934a2bdd6c73f52705c21e3731a7bab83f
parent123b444d78337a8f00d3ba83de3af3cdc6891de8 (diff)
build: curvetun: link against sysctl.o
Fixes curvetun build failure due to undefined reference to sysctl_get_int in sock.o. [...] LD curvetun curvetun/sock.o: In function `set_system_socket_mem.part.0': sock.c:(.text+0xc0): undefined reference to `sysctl_set_int' curvetun/sock.o: In function `set_system_socket_memory': sock.c:(.text+0x4dd): undefined reference to `sysctl_get_int' sock.c:(.text+0x505): undefined reference to `sysctl_get_int' sock.c:(.text+0x52e): undefined reference to `sysctl_get_int' sock.c:(.text+0x54f): undefined reference to `sysctl_get_int' collect2: error: ld returned 1 exit status Signed-off-by: Tobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
-rw-r--r--curvetun/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/curvetun/Makefile b/curvetun/Makefile
index d9ae339..134e2c7 100644
--- a/curvetun/Makefile
+++ b/curvetun/Makefile
@@ -23,6 +23,7 @@ curvetun-objs = xmalloc.o \
ioops.o \
cpusched.o \
die.o \
+ sysctl.o \
curvetun_mgmt_servers.o \
curvetun_mgmt_users.o \
curvetun_server.o \