aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-10-31 16:05:02 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-10-31 16:05:02 +0000
commit8c9249413e381acb65e48009c9b2973e42ff815e (patch)
tree72d8453da4a6a4af4b835f8f87ed4d18bd9e1a2d /package
parentaf243e70af30abe21c28aa6fc860052ca695a598 (diff)
downloadupstream-8c9249413e381acb65e48009c9b2973e42ff815e.tar.gz
upstream-8c9249413e381acb65e48009c9b2973e42ff815e.tar.bz2
upstream-8c9249413e381acb65e48009c9b2973e42ff815e.zip
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
Diffstat (limited to 'package')
-rw-r--r--package/libs/libubox/Makefile2
1 files changed, 2 insertions, 0 deletions
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/