X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/9e400c90e8e7a714dafbcb6c2bae524b022615af..a7ee73e3a6ca1ccfe786ea0eaf13d55de9d283b4:/package/lua/Makefile diff --git a/package/lua/Makefile b/package/lua/Makefile index e60be8f4b..c7e1814f9 100644 --- a/package/lua/Makefile +++ b/package/lua/Makefile @@ -109,13 +109,15 @@ define Build/Compile endef define Build/InstallDev - mkdir -p $(1)/usr/include + $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/lua{,lib,conf}.h $(1)/usr/include/ $(CP) $(PKG_INSTALL_DIR)/usr/include/lauxlib.h $(1)/usr/include/ $(CP) $(PKG_INSTALL_DIR)/usr/include/lnum_config.h $(1)/usr/include/ - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/liblua.{a,so*} $(1)/usr/lib/ ln -sf liblua.so.$(PKG_VERSION) $(1)/usr/lib/liblualib.so + $(INSTALL_DIR) $(1)/usr/lib/pkgconfig + $(CP) $(PKG_BUILD_DIR)/etc/lua.pc $(1)/usr/lib/pkgconfig/ endef define Package/liblua/install