aboutsummaryrefslogtreecommitdiffstats
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
commit1008c1bd1f5bfdb1b94a98d1a8a49b05111a1009 (patch)
treec9367c202eb9a15862597d5a7779ffae347c3e47
parent4baeb543f012c2927bffd427d9603c29ce7da237 (diff)
downloadupstream-1008c1bd1f5bfdb1b94a98d1a8a49b05111a1009.tar.gz
upstream-1008c1bd1f5bfdb1b94a98d1a8a49b05111a1009.tar.bz2
upstream-1008c1bd1f5bfdb1b94a98d1a8a49b05111a1009.zip
libubox: pass the lua path to cmake to avoid build errors
SVN-Revision: 34033
-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/