ocserv: fix libcrypt location
authorDirk Neukirchen <redacted>
Wed, 4 Mar 2015 20:25:37 +0000 (21:25 +0100)
committerDirk Neukirchen <redacted>
Wed, 4 Mar 2015 20:32:53 +0000 (21:32 +0100)
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 <redacted>
net/ocserv/Makefile

index 529071d2c3a0921b2aafd05f56d5db2212d3c1b5..b38e9b452a04cfc8fe2e68a341ce191bf0f69a1a 100644 (file)
@@ -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
git clone https://git.99rst.org/PROJECT