summaryrefslogtreecommitdiff
path: root/package/libs
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 /package/libs
parent4baeb543f012c2927bffd427d9603c29ce7da237 (diff)
downloadmtk-20170518-1008c1bd1f5bfdb1b94a98d1a8a49b05111a1009.zip
mtk-20170518-1008c1bd1f5bfdb1b94a98d1a8a49b05111a1009.tar.gz
mtk-20170518-1008c1bd1f5bfdb1b94a98d1a8a49b05111a1009.tar.bz2
libubox: pass the lua path to cmake to avoid build errors
SVN-Revision: 34033
Diffstat (limited to 'package/libs')
-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 4ca3112..9992b2d 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/