From 2e723d401983814c169c60506dbc1937d99b48d5 Mon Sep 17 00:00:00 2001 From: Dirk Neukirchen Date: Wed, 4 Mar 2015 21:25:37 +0100 Subject: [PATCH] ocserv: fix libcrypt location fix build errors on Arch Linux/Fedora 20 config.log trying to link with /usr/lib/libcrypt.so /usr/lib/libcrypt.so: undefined reference to `memset@GLIBC_2.2.5' linkage is AC_LIB_HAVE_LINKFLAGS macro behaviour see http://marc.info/?l=gnulib-bug&m=129660262901148 Signed-off-by: Dirk Neukirchen --- net/ocserv/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/net/ocserv/Makefile b/net/ocserv/Makefile index 529071d2c..b38e9b452 100644 --- a/net/ocserv/Makefile +++ b/net/ocserv/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=ocserv PKG_VERSION:=0.9.2 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_BUILD_DIR :=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz @@ -58,6 +58,7 @@ CONFIGURE_ARGS+= \ --enable-local-libopts \ --with-libreadline-prefix="$(STAGING_DIR)/" \ --without-libnl \ + --with-libcrypt-prefix="$(STAGING_DIR)/" \ ifneq ($(CONFIG_OCSERV_PAM),y) CONFIGURE_ARGS += --without-pam