From: nbd Date: Wed, 31 Oct 2012 16:05:02 +0000 (+0000) Subject: libubox: pass the lua path to cmake to avoid build errors X-Git-Url: https://git.archive.openwrt.org/?p=openwrt.git;a=commitdiff_plain;h=2f73375add1fdcf9972287a3f1152635dd446115 libubox: pass the lua path to cmake to avoid build errors git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34033 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/package/libs/libubox/Makefile b/package/libs/libubox/Makefile index 4ca3112b5e..9992b2d79c 100644 --- a/package/libs/libubox/Makefile +++ b/package/libs/libubox/Makefile @@ -48,6 +48,8 @@ define Package/jshn/description endef TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include +CMAKE_OPTIONS = \ + -DLUAPATH=/usr/lib/lua define Package/libubox/install $(INSTALL_DIR) $(1)/lib/