Merge pull request #1397 from hnyman/rngtools-musl

rng-tools: musl compatibility
This commit is contained in:
Ted Hess 2015-06-17 12:45:33 -04:00
commit df6baaf7e0

View file

@ -1,5 +1,5 @@
# #
# Copyright (C) 2011-2014 OpenWrt.org # Copyright (C) 2011-2015 OpenWrt.org
# #
# This is free software, licensed under the GNU General Public License v2. # This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information. # See /LICENSE for more information.
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=rng-tools PKG_NAME:=rng-tools
PKG_VERSION:=5 PKG_VERSION:=5
PKG_RELEASE:=1 PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/gkernel/rng-tools/$(PKG_VERSION)/ PKG_SOURCE_URL:=@SF/gkernel/rng-tools/$(PKG_VERSION)/
@ -19,7 +19,7 @@ PKG_MAINTAINER:=Hannu Nyman <hannu.nyman@iki.fi>
PKG_FIXUP:=autoreconf PKG_FIXUP:=autoreconf
PKG_BUILD_DEPENDS:=USE_UCLIBC:argp-standalone PKG_BUILD_DEPENDS:=USE_UCLIBC:argp-standalone USE_MUSL:argp-standalone
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
@ -35,6 +35,11 @@ CONFIGURE_VARS += \
LIBS="-largp" LIBS="-largp"
endif endif
ifdef CONFIG_USE_MUSL
CONFIGURE_VARS += \
LIBS="-largp"
endif
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--without-libgcrypt --without-libgcrypt