From 2403c37fa6f30bd960cd1301bb4584f74398618c Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Wed, 5 Aug 2015 00:41:59 +0200 Subject: 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 Signed-off-by: Tobias Klauser --- curvetun/Makefile | 1 + 1 file changed, 1 insertion(+) 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 \ -- cgit v1.2.3-54-g00ecf