summaryrefslogtreecommitdiffstats
path: root/package/luabitop
diff options
context:
space:
mode:
authorFrancois Perrad <fperrad@gmail.com>2014-01-11 16:42:05 +0100
committerPeter Korsgaard <peter@korsgaard.com>2014-01-13 23:16:18 +0100
commitccd68a513fc155578b724d629d61f1a9686547ee (patch)
tree2af7ce47b0099e24e4ea62b39c161f0f4d4579eb /package/luabitop
parent443f8c1f4d394c94731a333e26ab523f0fb84abc (diff)
downloadbuildroot-ccd68a513fc155578b724d629d61f1a9686547ee.tar.gz
buildroot-ccd68a513fc155578b724d629d61f1a9686547ee.zip
lua*: restore version in module paths
(like in upstream) Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/luabitop')
-rw-r--r--package/luabitop/luabitop.mk5
1 files changed, 2 insertions, 3 deletions
diff --git a/package/luabitop/luabitop.mk b/package/luabitop/luabitop.mk
index 7addbe6935..083be3572c 100644
--- a/package/luabitop/luabitop.mk
+++ b/package/luabitop/luabitop.mk
@@ -12,12 +12,11 @@ LUABITOP_LICENSE_FILES = README
LUABITOP_DEPENDENCIES = lua
define LUABITOP_BUILD_CMDS
- $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS)
+ $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) INCLUDES="-I$(STAGING_DIR)/usr/include"
endef
define LUABITOP_INSTALL_TARGET_CMDS
- mkdir -p $(TARGET_DIR)/usr/lib/lua
- $(INSTALL) -p $(@D)/bit.so $(TARGET_DIR)/usr/lib/lua
+ $(INSTALL) -p $(@D)/bit.so $(TARGET_DIR)/usr/lib/lua/5.1
endef
$(eval $(generic-package))
OpenPOWER on IntegriCloud