From 346933b4b253dec0083618ccda9d9888355616c0 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Mon, 13 Aug 2012 09:52:11 +0000 Subject: [PATCH] fix radlib VARIANT usage SVN-Revision: 33155 --- libs/radlib/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libs/radlib/Makefile b/libs/radlib/Makefile index e1b14fbe4..c6c4f8c6a 100644 --- a/libs/radlib/Makefile +++ b/libs/radlib/Makefile @@ -25,6 +25,7 @@ define Package/radlib DEPENDS:=+libpthread TITLE:=Rapid Application Development Library URL:=http://www.radlib.teel.ws/ + VARIANT:=nosql endef define Package/radlib/description @@ -43,12 +44,17 @@ define Package/radlib-sqlite/description This package comes with sqlite support endef + CONFIGURE_ARGS += \ --prefix="$(TOOLCHAIN_DIR)/usr" ifeq ($(BUILD_VARIANT),sqlite) +EXTRA_LDFLAGS=-lsqlite3 CONFIGURE_ARGS += \ --enable-sqlite +else +CONFIGURE_ARGS += \ + --disable-sqlite endif define Build/InstallDev -- 2.30.2