[packages] fix radlib VARIANT usage
git-svn-id: svn://svn.openwrt.org/openwrt/packages@33155 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
ece79eeb82
commit
4862987d0c
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user