[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
|
DEPENDS:=+libpthread
|
||||||
TITLE:=Rapid Application Development Library
|
TITLE:=Rapid Application Development Library
|
||||||
URL:=http://www.radlib.teel.ws/
|
URL:=http://www.radlib.teel.ws/
|
||||||
|
VARIANT:=nosql
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/radlib/description
|
define Package/radlib/description
|
||||||
@ -43,12 +44,17 @@ define Package/radlib-sqlite/description
|
|||||||
This package comes with sqlite support
|
This package comes with sqlite support
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|
||||||
CONFIGURE_ARGS += \
|
CONFIGURE_ARGS += \
|
||||||
--prefix="$(TOOLCHAIN_DIR)/usr"
|
--prefix="$(TOOLCHAIN_DIR)/usr"
|
||||||
|
|
||||||
ifeq ($(BUILD_VARIANT),sqlite)
|
ifeq ($(BUILD_VARIANT),sqlite)
|
||||||
|
EXTRA_LDFLAGS=-lsqlite3
|
||||||
CONFIGURE_ARGS += \
|
CONFIGURE_ARGS += \
|
||||||
--enable-sqlite
|
--enable-sqlite
|
||||||
|
else
|
||||||
|
CONFIGURE_ARGS += \
|
||||||
|
--disable-sqlite
|
||||||
endif
|
endif
|
||||||
|
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
|
Loading…
x
Reference in New Issue
Block a user